mlock(3) - Linux man page

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

Referenced By

memtester(8), proc(5)