This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]