This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
POSIX Queue Suspension
- From: "Ali, Khurram" <Khurram_Ali at mentor dot com>
- To: "eCos Discussion" <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 20 Jun 2005 10:54:00 -0500
- Subject: [ECOS] POSIX Queue Suspension
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