Atomic operations

QNX SDP8.0Programmer's GuideDeveloper

One final problem that can occur with different families of processors, and SMP configurations in general, is that of atomic access to variables.

Some convenience functions are defined that allow you to perform atomic operations (i.e., operations that are guaranteed to be indivisible or uninterruptible). Using these functions alleviates the need to disable and enable interrupts around certain small, well-defined operations with variables.

Page updated: