fibril_synch.h File Reference

#include <fibril.h>
#include <adt/list.h>
#include <libarch/tls.h>
#include <sys/time.h>
#include <bool.h>

Go to the source code of this file.

Data Structures

struct  fibril_condvar_t
struct  fibril_mutex_t
struct  fibril_rwlock_t

Defines

#define FIBRIL_CONDVAR_INITIALIZE(name)   fibril_condvar_t name = FIBRIL_CONDVAR_INITIALIZER(name)
#define FIBRIL_CONDVAR_INITIALIZER(name)
#define FIBRIL_MUTEX_INITIALIZE(name)   fibril_mutex_t name = FIBRIL_MUTEX_INITIALIZER(name)
#define FIBRIL_MUTEX_INITIALIZER(name)
#define FIBRIL_RWLOCK_INITIALIZE(name)   fibril_rwlock_t name = FIBRIL_RWLOCK_INITIALIZER(name)
#define FIBRIL_RWLOCK_INITIALIZER(name)

Functions

void fibril_condvar_broadcast (fibril_condvar_t *fcv)
void fibril_condvar_initialize (fibril_condvar_t *fcv)
void fibril_condvar_signal (fibril_condvar_t *fcv)
void fibril_condvar_wait (fibril_condvar_t *fcv, fibril_mutex_t *fm)
int fibril_condvar_wait_timeout (fibril_condvar_t *fcv, fibril_mutex_t *fm, suseconds_t timeout)
void fibril_mutex_initialize (fibril_mutex_t *fm)
bool fibril_mutex_is_locked (fibril_mutex_t *fm)
void fibril_mutex_lock (fibril_mutex_t *fm)
bool fibril_mutex_trylock (fibril_mutex_t *fm)
void fibril_mutex_unlock (fibril_mutex_t *fm)
void fibril_rwlock_initialize (fibril_rwlock_t *frw)
bool fibril_rwlock_is_locked (fibril_rwlock_t *frw)
bool fibril_rwlock_is_read_locked (fibril_rwlock_t *frw)
bool fibril_rwlock_is_write_locked (fibril_rwlock_t *frw)
void fibril_rwlock_read_lock (fibril_rwlock_t *frw)
void fibril_rwlock_read_unlock (fibril_rwlock_t *frw)
void fibril_rwlock_write_lock (fibril_rwlock_t *frw)
void fibril_rwlock_write_unlock (fibril_rwlock_t *frw)


Detailed Description

Definition in file fibril_synch.h.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7