mutex.h File Reference

Include dependency graph for mutex.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mutex


#define mutex_lock(mtx)   _mutex_lock_timeout((mtx),SYNCH_NO_TIMEOUT,SYNCH_FLAGS_NONE)
#define mutex_trylock(mtx)   _mutex_lock_timeout((mtx),SYNCH_NO_TIMEOUT,SYNCH_FLAGS_NON_BLOCKING)
#define mutex_lock_timeout(mtx, usec)   _mutex_lock_timeout((mtx),(usec),SYNCH_FLAGS_NON_BLOCKING)
#define mutex_lock_active(mtx)   while (mutex_trylock((mtx)) != ESYNCH_OK_ATOMIC)


void mutex_initialize (mutex_t *mtx)
int _mutex_lock_timeout (mutex_t *mtx, __u32 usec, int flags)
void mutex_unlock (mutex_t *mtx)

Detailed Description

Definition in file mutex.h.

Generated on Sun Jun 18 17:29:18 2006 for HelenOS Kernel (ppc64) by  doxygen 1.4.6