mDestroy (3) - Linux Manuals

mDestroy: destroy a mutex.

NAME

mDestroy - destroy a mutex.

SYNOPSIS

#include <util/ulocks.h>

void mDestroy(pthread_mutex_t *mutex);

ARGUMENTS

mutex - mutex to destroy.

DESCRIPTION

Destroys the mutex <mutex> that was initialized by mCreate().

MT-Level: Safe for unique <mutex>.

RETURN VALUE

None.

SEE ALSO

mCreate(3), fCreate(3), mUnlock(3), fUnlock(3), cBroadcast(3), cSignal(3), fFind(3), cDestroy(3), cCreate(3), mDestroy(3), cWait(3), fLock(3), fDestroy(3), mLock