Waiting for multiple events

Sergei Organov osv at javad.com
Tue Nov 29 17:11:16 UTC 2011


Peter Dufault <dufault at hda.com> writes:

> On Nov 29, 2011, at 10:32 , Mogens Dybæk Christensen wrote:
>
>> That will require manual modification of approx. 25 source files, so
>> it is possible. The original idea was just to replace the OS
>> wrapper, but the footprint seems too different.
>> 
>
> Can you describe the interface you want to wrap? I googled RTXC but
> the "semaphore list" interface wasn't clear. Maybe someone can then
> suggest a POSIXY or RTEMS way of wrapping it.

Well, POSIXy way of waiting for arbitrary complex condition(s) is
'condvar', but POSIX itself has no notion of interrupts, so only if
RTEMS provides corresponding extension(s) (signaling condvar from ISR)
will it be useful in the context of OP question.

-- Sergei.



More information about the users mailing list