/home/dko/Projects/mobilec/src/include/mc_rwlock.h File Reference

#include "macros.h"

Go to the source code of this file.

Data Structures

struct  mc_rwlock_s

Typedefs

typedef struct mc_rwlock_s mc_rwlock_t
typedef mc_rwlock_tmc_rwlock_p

Functions

int mc_rwlock_init (mc_rwlock_p rwlock)
int mc_rwlock_destroy (mc_rwlock_p rwlock)
int mc_rwlock_rdlock (mc_rwlock_p rwlock)
int mc_rwlock_rdunlock (mc_rwlock_p rwlock)
int mc_rwlock_wrlock (mc_rwlock_p rwlock)
int mc_rwlock_wrunlock (mc_rwlock_p rwlock)

Typedef Documentation

Definition at line 46 of file mc_rwlock.h.

typedef struct mc_rwlock_s mc_rwlock_t

Function Documentation

int mc_rwlock_destroy ( mc_rwlock_p  rwlock  ) 

Definition at line 66 of file mc_rwlock.c.

References mc_rwlock_s::cond, COND_DESTROY, mc_rwlock_s::lock, and MUTEX_DESTROY.

int mc_rwlock_init ( mc_rwlock_p  rwlock  ) 
int mc_rwlock_rdlock ( mc_rwlock_p  rwlock  ) 
int mc_rwlock_rdunlock ( mc_rwlock_p  rwlock  ) 
int mc_rwlock_wrlock ( mc_rwlock_p  rwlock  ) 
int mc_rwlock_wrunlock ( mc_rwlock_p  rwlock  ) 
Generated on Tue Dec 28 15:15:27 2010 for Mobile-C by  doxygen 1.6.3