mLock(3) 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.