|
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) |