Strictly atomic operations

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


Greetings,

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: http://www.vxdev.com/docs/vx55man/vxworks/ref/taskLib.
html#taskLock

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

Thank you,
-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170120/26ced00a/attachment.html>


More information about the users mailing list