Strictly atomic operations
mrippa at gemini.edu
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: http://www.vxdev.com/docs/vx55man/vxworks/ref/taskLib.
What would be the recommended approach in rtems? Using semaphores would not
prevent a higher priority thread from preempting me.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users