Strictly atomic operations

Matt Rippa mrippa at
Fri Jan 20 19:12:02 UTC 2017


In VxWorks 5.5 we use taskLock()/taskUnlock() to stop the possibility of
preemption for a critical region of code. This doesn't stop interrupts as
described here:

What would be the recommended approach in rtems? Using semaphores would not
prevent a higher priority thread from preempting me.

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list