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

#include "macros.h"

Go to the source code of this file.

Functions

 STRUCT (ams, struct mc_platform_s *mc_platform;MUTEX_T *runflag_lock;COND_T *runflag_cond;int run;int waiting;MUTEX_T *waiting_lock;COND_T *waiting_cond;THREAD_T thread;) ams_p ams_Initialize(struct mc_platform_s *_mc_platform)
int ams_Destroy (ams_p ams)
int ams_RemoveFinishedAgents (ams_p ams)
int ams_ManageAgentList (ams_p ams)
void ams_Print (ams_p ams)
void ams_Start (struct mc_platform_s *mc_platform)
void * ams_Thread (void *arg)

Function Documentation

int ams_Destroy ( ams_p  ams  ) 

Definition at line 46 of file ams.c.

References COND_DESTROY, MC_SUCCESS, and MUTEX_DESTROY.

Referenced by mc_platform_Destroy().

int ams_ManageAgentList ( ams_p  ams  ) 
void ams_Print ( ams_p  ams  ) 
int ams_RemoveFinishedAgents ( ams_p  ams  ) 
void ams_Start ( struct mc_platform_s mc_platform  ) 
void* ams_Thread ( void *  arg  ) 
STRUCT ( ams  ,
struct mc_platform_s *mc_platform;MUTEX_T *runflag_lock;COND_T *runflag_cond;int run;int waiting;MUTEX_T *waiting_lock;COND_T *waiting_cond;THREAD_T thread  
)
Generated on Tue Dec 28 15:15:27 2010 for Mobile-C by  doxygen 1.6.3