add to an ATOMIC_INT value
void ATOMIC_INT_ADD(atomic_int_t *counter, int value);
adds value to the integer value stored within the
object pointed to by counter.
The result of the addition is stored
back into the object referenced by counter.
Points to an ATOMIC_INT object to be modified by the addition.
The value to add to the contents of counter.
object pointed to by counter must have been
previously allocated by
and initialized by
The atomicity properties of ATOMIC_INT objects
are strictly limited to a single object.
``Atomic locks'' in HDK Technical Reference.
Context and synchronization
Non-blockable, interrupt, user, or blockable
6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
``Atomic locks'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005