[En-Nut-Discussion] reliability of message queues

Ole Reinhardt ole.reinhardt at kernelconcepts.de
Wed Feb 23 12:56:37 CET 2005


Hi Harald,

> P.S.: IMHO, Nut/OS kernel routines should stick with the basic
> NutEvent API for any kind of thread synchronization. But for
> higher level APIs and application code message queues and
> semaphores are quite useful.

That not always that easy. For some kind of buffer handling semaphores
are quite useful. See my can driver for an example.

Sometimes I also have the wish to wait on multiple events. What do you
think about introducing a new function "NutEventWaitMultiple"? That
would satisfy all my needs.

Bye,

Ole



-- 
kernel concepts    Tel: +49-271-771091-14
Dreisbachstr. 24   Fax: +49-271-771091-19
D-57250 Netphen    E+ : +49-177-7420433
--





More information about the En-Nut-Discussion mailing list