[Previous] [Contents] [Next]

_sleepon_unlock()

@@@Unlock a sleepon

Synopsis:

#include <@@@unistd.h>

int _sleepon_unlock( sleepon_t * l );

Library:

libc

Description:

The _sleepon_lock() function unlocks the mutex asociated with the sleepon structure, l. The mutex must have been previously locked with _sleepon_lock().

Returns:

The same values as pthread_mutex_unlock():

EOK
Success.
EINVAL
Invalid mutex mutex.
EPERM
Current thread doesn't own mutex.

Classification:

@@@NONE

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

See also:


[Previous] [Contents] [Next]