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

#include "macros.h"
#include "../mc_list/list.h"
#include "mc_rwlock.h"

Go to the source code of this file.

Data Structures

struct  barrier_node_s
struct  barrier_queue_s

Typedefs

typedef struct barrier_node_s barrier_node_t
typedef barrier_node_tbarrier_node_p
typedef struct barrier_queue_s barrier_queue_t
typedef barrier_queue_tbarrier_queue_p

Functions

barrier_node_p barrier_node_Initialize (int id, int num_registered)
int barrier_node_Destroy (barrier_node_p node)
int barrier_node_CmpID (const void *key, void *element)

Typedef Documentation

Definition at line 49 of file barrier.h.

Definition at line 57 of file barrier.h.


Function Documentation

int barrier_node_CmpID ( const void *  key,
void *  element 
)

Definition at line 86 of file barrier.c.

References barrier_node_s::id, barrier_node_s::lock, MUTEX_LOCK, and MUTEX_UNLOCK.

Referenced by MC_Barrier(), MC_BarrierDelete(), and MC_BarrierInit().

int barrier_node_Destroy ( barrier_node_p  node  ) 
barrier_node_p barrier_node_Initialize ( int  id,
int  num_registered 
)
Generated on Fri Jun 17 16:59:06 2011 for Mobile-C by  doxygen 1.6.3