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

#include "macros.h"
#include "../mc_list/list.h"
#include <stdio.h>
#include <stdlib.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_queue_Add (barrier_queue_p list, barrier_node_p node)
int barrier_queue_Delete (int id, barrier_queue_p list)
int barrier_queue_Destroy (barrier_queue_p queue)
barrier_node_p barrier_queue_Get (barrier_queue_p list, int id)
barrier_queue_p barrier_queue_New (void)
barrier_node_p barrier_queue_Pop (barrier_queue_p queue)

Typedef Documentation

Definition at line 49 of file barrier.h.

Definition at line 57 of file barrier.h.


Function Documentation

int barrier_node_Destroy ( barrier_node_p  node  ) 
barrier_node_p barrier_node_Initialize ( int  id,
int  num_registered 
)
int barrier_queue_Add ( barrier_queue_p  list,
barrier_node_p  node 
)
int barrier_queue_Delete ( int  id,
barrier_queue_p  list 
)
int barrier_queue_Destroy ( barrier_queue_p  queue  ) 
barrier_node_p barrier_queue_Get ( barrier_queue_p  list,
int  id 
)
barrier_queue_p barrier_queue_New ( void   ) 
barrier_node_p barrier_queue_Pop ( barrier_queue_p  queue  ) 

Definition at line 176 of file barrier.c.

References barrier_queue_s::list, ListPop(), and node.

Referenced by barrier_queue_Destroy().

Generated on Tue Dec 28 15:15:27 2010 for Mobile-C by  doxygen 1.6.3