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]

AW: FW: Mailboxes - priorities of messages


...
> last. Also I made my own mailbox implementation which uses 
> the eCos Mailbox
> API to implement the actual message queue, the only thing my 
> mailbox does
> extra is trigger the semaphore every time a message is placed 
> in the queue,
> so that the receive process will start. The sending process 
> only has to
> place the message in the correct mailbox, which corresponds 
> to the priority
> of the message.....
> 
> Greetings,
>    Han

You could also wait on a condition variable, which is signalled when a message is inserted into any of the message queues you are interested in.

Alex

--
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]