C library interface: pthread_mutex_unlock()
CEEOPMU2 is the C-callable Language Environment interface
to the pthread_mutex_unlock() function.
Syntax
int
CEEOPMU2 (
mutex)
pthread_mutex_t *mutex;
- CEEOPMU2
- Call this CWI interface as follows:
L R15,CEECAALEOV-CEECAA(,R12)
L R15,320(,R15)
BALR R14,R15
- mutex (input)
- Identifies the mutex to be locked.
CEEOPMU2 can return the following function values:
- 0
- Function completed successfully.
- -1
- An error occurred; errno can be one of the following
values:
- EINVAL
- The specified mutex is not valid.
- EPERM
- The current thread does not own the mutex.