Waiting for multiple events

Joel Sherrill joel.sherrill at OARcorp.com
Tue Nov 29 17:21:33 UTC 2011

On 11/29/2011 11:11 AM, Sergei Organov wrote:
> 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.
Every core thread operating that unblocks is supposed to be safe
from an ISR.

FWIW I like sending events or messages from interrupts personally.
> -- Sergei.
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users

Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985

More information about the users mailing list