#include "eus.h"
#include <errno.h>
Go to the source code of this file.
|
int | rw_rdlock (rwlock_t *rw) |
|
int | rw_unlock (rwlock_t *rw) |
|
int | rw_wrlock (rwlock_t *rw) |
|
int | rwlock_destroy (rwlock_t *rw) |
|
int | rwlock_init (rwlock_t *rw, int c, void *d) |
|
int | sema_destroy (sema_t *sem) |
|
int | sema_init (sema_t *sem, unsigned int c, int d, void *e) |
|
int | sema_post (sema_t *sem) |
|
int | sema_trywait (sema_t *sem) |
|
int | sema_wait (sema_t *sem) |
|
int | thr_continue (int tid) |
|
int | thr_create (void *base, size_t size, void(*func)(), void *args, long flags, int *tid) |
|
int | thr_getprio (int tid, int *prio) |
|
int | thr_join (int tid, int *depature, void **status) |
|
int | thr_kill (int tid, int sig) |
|
int | thr_self () |
|
int | thr_setprio (int tid, int prio) |
|
int | thr_suspend (int tid) |
|
int rwlock_init |
( |
rwlock_t * |
rw, |
|
|
int |
c, |
|
|
void * |
d |
|
) |
| |
int sema_destroy |
( |
sema_t * |
sem | ) |
|
int sema_init |
( |
sema_t * |
sem, |
|
|
unsigned int |
c, |
|
|
int |
d, |
|
|
void * |
e |
|
) |
| |
int sema_trywait |
( |
sema_t * |
sem | ) |
|
int thr_continue |
( |
int |
tid | ) |
|
int thr_create |
( |
void * |
base, |
|
|
size_t |
size, |
|
|
void(*)() |
func, |
|
|
void * |
args, |
|
|
long |
flags, |
|
|
int * |
tid |
|
) |
| |
int thr_getprio |
( |
int |
tid, |
|
|
int * |
prio |
|
) |
| |
int thr_join |
( |
int |
tid, |
|
|
int * |
depature, |
|
|
void ** |
status |
|
) |
| |
int thr_kill |
( |
int |
tid, |
|
|
int |
sig |
|
) |
| |
int thr_setprio |
( |
int |
tid, |
|
|
int |
prio |
|
) |
| |
int thr_suspend |
( |
int |
tid | ) |
|
pthread_t thread_table[MAXTHREAD][2] |