From: "Ali, Khurram" <Khurram_Ali@mentor.com>
To: "eCos Discussion" <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] POSIX Queue Suspension
Date: Mon, 20 Jun 2005 15:54:00 -0000 [thread overview]
Message-ID: <32A0F6EE19ECF646A9CF370C3AB15EBE016A8A7E@SVR-ALH-EXC-02.mgc.mentorg.com> (raw)
Hello,
I have two POSIX threads that are waiting to receive on a POSIX queue.
Thread L suspends on the queue first. Thread K then suspends on the
queue. However, when Thread J sends an element to the queue. Thread K is
resumed first.
All threads have the same priority. All queue accesses are also made
with the same priority. Shouldn't Thread L be resumed first.
What could I be doing wrong?
Appreciate any help.
Thank you,
Khurram
---------------------------------------
M. Khurram Ali - khurram_ali@mentor.com
Software Engineer
Accelerated Technology,
A Mentor Graphics Division
739 North University Blvd.
Mobile, AL 36608
www.mentor.com/embedded
---------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2005-06-20 15:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-20 15:54 Ali, Khurram [this message]
2005-06-20 17:22 ` Andrew Lunn
2005-06-20 18:49 Ali, Khurram
2005-06-20 21:58 Ali, Khurram
2005-06-20 23:47 ` Gary Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=32A0F6EE19ECF646A9CF370C3AB15EBE016A8A7E@SVR-ALH-EXC-02.mgc.mentorg.com \
--to=khurram_ali@mentor.com \
--cc=ecos-discuss@ecos.sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).