mLock

Langue: en

Version: 164641 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

mLock - lock a mutex.

SYNOPSIS

 #include <util/ulocks.h>
 
 
 NEOERR *mLock(pthread_mutex_t *mutex);
 
 
 

ARGUMENTS

mutex - mutex to lock.

DESCRIPTION

Locks the mutex <mutex>. This call blocks until the mutex is acquired.

MT-Level: Safe.

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