dacs_mutex_unlock

NAME

dacs_mutex_unlock - Unlock a mutual exclusion variable.

SYNOPSIS

DACS_ERR_T dacs_mutex_unlock ( dacs_mutex_t mutex )

Call parameter  
mutex The handle of the mutex to unlock.

DESCRIPTION

The dacs_mutex_unlock service unlocks a mutex. The caller must either be the owner of the mutex, or have previously accepted the mutex with a call to dacs_mutex_accept().

RETURN VALUE

The dacs_mutex_unlock service returns an error indicator defined as:
  • DACS_SUCCESS: normal return; unlock succeeded.
  • DACS_ERR_INVALID_HANDLE: the specified mutex handle is not valid.

SEE ALSO

dacs_mutex_init(3), dacs_mutex_share(3), dacs_mutex_accept(3), dacs_mutex_lock(3), dacs_mutex_try_lock(3), dacs_mutex_release(3), dacs_mutex_destroy(3)