atomic_op (ULTRIX) atomic_op (ULTRIX)
NAME
msem_init, msem_lock, msem_unlock, msem_remove - Semaphore function
calls
DIFFERENCES
On an ULTRIX system, semaphores are done through the atomic_op call.
This call allows you to test and set a user-space address that you
specify. The Digital UNIX system does not contain the atomic_op call.
However, the system does include library routines that perform sema‐
phore operations.
The Digital UNIX library functions are as follows:
* msem_init, which initializes a semaphore
* msem_lock, which locks a semaphore
* msem_unlock, which unlocks a semaphore
* msem_remove, which removes a semaphore
RELATED INFORMATION
Digital UNIX Functions:
msem_init(3), msem_lock(3), msem_unlock(3), msem_remove(3) delim
off
atomic_op (ULTRIX)