[En-Nut-Discussion] message Queue

Ole Reinhardt ole.reinhardt at embedded-it.de
Wed Dec 7 15:59:03 CET 2011


Hi!

> If at the beginning of a Thread I call a wait for a message queue and make
> the time out with value of "0" (wait forever), so in this case the NUT/Os
> will not make any context switching to this thread until a message has been
> sent to this thread, am I right?

You mean posting to an event queue, right?

So if you wait on a event queue with a timeout of 0 there will be no
switch to this thread until you post an event to this queue. Thats
totaly right.

Regards,

Ole Reinhardt

-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

http://www.embedded-it.de

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 



More information about the En-Nut-Discussion mailing list