[En-Nut-Discussion] reliability of message queues

Matthias Ringwald mringwal at inf.ethz.ch
Wed Feb 23 14:25:20 CET 2005


On 23.02.2005, at 12:57, Harald Kipp wrote:

> NutEventWaitMultiple() seems to be the best solution.
> Not sure about its implementation.

thats the main point. I cannot think of one either. A quick look
at other OS (e.g. posix), there you find two concepts: the select call
(which I just suggested to use in this case) and message queue which 
buffer
messages. I cannnot think of anything in between.

What do you expect the NutEventWaitMultiple() to return?  The queue 
which was selected?
What do you need to do, if multiple queues where signaled?
So, I'm a bit sceptical, that NutEventWaitMultiple() can be implemented 
and will be usefull
but maybe this can be another sort of motivation... :)

matthias




More information about the En-Nut-Discussion mailing list