Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

mnthread.h File Reference

Go to the source code of this file.

Typedefs

typedef pth_t mnthread_t
typedef pth_attr_t mnthread_attr_t
typedef pth_mutex_t mnthread_mutex_t
typedef int mnthread_mutexattr_t
typedef pth_cond_t mnthread_cond_t
typedef int mnthread_condattr_t

Functions

void mnthread_lib_init ()
pid_t mn_fork ()
int mnthread_create (mnthread_t *th, mnthread_attr_t *attr, void *(*start_routine)(void *), void *arg)
void mnthread_exit (void *value)
int mnthread_join (mnthread_t th, void **value)
mnthread_t mnthread_self ()
bool mnthread_equal (mnthread_t thl, mnthread_t thr)
int mnthread_attr_init (mnthread_attr_t *attr)
int mnthread_attr_set_detach (mnthread_attr_t *attr)
int mnthread_attr_destroy (mnthread_attr_t *attr)
int mnthread_mutex_init (mnthread_mutex_t *mx, mnthread_mutexattr_t *attr)
int mnthread_mutex_lock (mnthread_mutex_t *mx)
int mnthread_mutex_trylock (mnthread_mutex_t *mx)
int mnthread_mutex_unlock (mnthread_mutex_t *mx)
int mnthread_mutex_destroy (mnthread_mutex_t *mx)
int mnthread_mutexattr_init (mnthread_mutexattr_t *attr)
int mnthread_mutexattr_destroy (mnthread_mutexattr_t *attr)
int mnthread_cond_init (mnthread_cond_t *cond, mnthread_condattr_t *cond_attr)
int mnthread_cond_signal (mnthread_cond_t *cond)
int mnthread_cond_broadcast (mnthread_cond_t *cond)
int mnthread_cond_wait (mnthread_cond_t *cond, mnthread_mutex_t *mutex)
int mnthread_cond_timedwait (mnthread_cond_t *cond, mnthread_mutex_t *mutex, const struct timespec *abstime)
int mnthread_cond_destroy (mnthread_cond_t *cond)
int mnthread_condattr_init (mnthread_condattr_t *attr)
int mnthread_condattr_destroy (mnthread_condattr_t *attr)


Typedef Documentation

typedef pthread_attr_t mnthread_attr_t
 

typedef pthread_cond_t mnthread_cond_t
 

typedef pthread_condattr_t mnthread_condattr_t
 

typedef pthread_mutex_t mnthread_mutex_t
 

typedef pthread_mutexattr_t mnthread_mutexattr_t
 

typedef pthread_t mnthread_t
 


Function Documentation

pid_t mn_fork  ) 
 

int mnthread_attr_destroy mnthread_attr_t attr  ) 
 

int mnthread_attr_init mnthread_attr_t attr  ) 
 

int mnthread_attr_set_detach mnthread_attr_t attr  ) 
 

int mnthread_cond_broadcast mnthread_cond_t cond  ) 
 

int mnthread_cond_destroy mnthread_cond_t cond  ) 
 

int mnthread_cond_init mnthread_cond_t cond,
mnthread_condattr_t cond_attr
 

int mnthread_cond_signal mnthread_cond_t cond  ) 
 

int mnthread_cond_timedwait mnthread_cond_t cond,
mnthread_mutex_t mutex,
const struct timespec *  abstime
 

int mnthread_cond_wait mnthread_cond_t cond,
mnthread_mutex_t mutex
 

int mnthread_condattr_destroy mnthread_condattr_t attr  ) 
 

int mnthread_condattr_init mnthread_condattr_t attr  ) 
 

int mnthread_create mnthread_t th,
mnthread_attr_t attr,
void *(*  start_routine)(void *),
void *  arg
 

bool mnthread_equal mnthread_t  thl,
mnthread_t  thr
 

void mnthread_exit void *  value  ) 
 

int mnthread_join mnthread_t  th,
void **  value
 

void mnthread_lib_init  ) 
 

int mnthread_mutex_destroy mnthread_mutex_t mx  ) 
 

int mnthread_mutex_init mnthread_mutex_t mx,
mnthread_mutexattr_t attr
 

int mnthread_mutex_lock mnthread_mutex_t mx  ) 
 

int mnthread_mutex_trylock mnthread_mutex_t mx  ) 
 

int mnthread_mutex_unlock mnthread_mutex_t mx  ) 
 

int mnthread_mutexattr_destroy mnthread_mutexattr_t attr  ) 
 

int mnthread_mutexattr_init mnthread_mutexattr_t attr  ) 
 

mnthread_t mnthread_self  ) 
 


Generated on Sun Mar 6 13:35:50 2005 for Komssys by doxygen 1.3.8