[ECOS] POSIX Queue Suspension
Ali, Khurram
Khurram_Ali@mentor.com
Mon Jun 20 15:54:00 GMT 2005
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
More information about the Ecos-discuss
mailing list