This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
cyg_mbox_get blocks off other threads?
- From: Stijn Symons <stijn dot symons at acunia dot com>
- To: ecos-discuss <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 06 Mar 2002 16:42:51 +0100
- Subject: [ECOS] cyg_mbox_get blocks off other threads?
- Organization: Acunia
Hi all,
We have a thread running at a high priority wich is waiting eternally on
a message out of queue with cyg_mbox_get. This thread is waiting for
messages of other threads to say they want to die. These dying threads
run at a lower priority.
It seems that our waiting thread is blocking off all the other threads.
Doesn't the waiting thread let other threads play while it's doing
cyg_mbox_get? Or is this the 'highest priority runs' trick in full
effect?
thanks,
stijn
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss