MUTEX_UNLOCK(D3)

MUTEX_UNLOCK - release a mutual exclusion lock

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     MUTEX_UNLOCK - release a mutual exclusion lock

SYNOPSIS
     #include <sys/ksynch.h>
     #include <sys/ddi.h>
     void MUTEX_UNLOCK(mutex_t *lockp);

   Arguments
     lockp     Pointer to the mutual exclusion lock to be released.

DESCRIPTION
     MUTEX_UNLOCK releases the mutual exclusion lock specified by lockp.  If
     there are processes waiting for the lock, the process with the highest
     priority (at the time the process was blocked) is activated.

     Only the process which acquired the lock (via MUTEX_LOCK or
     MUTEX_TRYLOCK) may release it.

   Return Values
     None

USAGE
   Level
     Base only.

   Synchronization Constraints
     Does not sleep.

     Driver-defined basic locks and sleeping locks may be held across calls to
     this function.

REFERENCES
     MUTEX_ALLOC(D3), MUTEX_INIT(D3), MUTEX_DEALLOC(D3), MUTEX_DESTROY(D3),
     MUTEX_LOCK(D3), MUTEX_TRYLOCK(D3), MUTEX_OWNED(D3), MUTEX_MINE(D3).