#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) |
|
◆ rw_rdlock()
◆ rw_unlock()
◆ rw_wrlock()
◆ rwlock_destroy()
◆ rwlock_init()
int rwlock_init |
( |
rwlock_t * |
rw, |
|
|
int |
c, |
|
|
void * |
d |
|
) |
| |
◆ sema_destroy()
int sema_destroy |
( |
sema_t * |
sem | ) |
|
◆ sema_init()
int sema_init |
( |
sema_t * |
sem, |
|
|
unsigned int |
c, |
|
|
int |
d, |
|
|
void * |
e |
|
) |
| |
◆ sema_post()
◆ sema_trywait()
int sema_trywait |
( |
sema_t * |
sem | ) |
|
◆ sema_wait()
◆ thr_continue()
int thr_continue |
( |
int |
tid | ) |
|
◆ thr_create()
int thr_create |
( |
void * |
base, |
|
|
size_t |
size, |
|
|
void(*)() |
func, |
|
|
void * |
args, |
|
|
long |
flags, |
|
|
int * |
tid |
|
) |
| |
◆ thr_getprio()
int thr_getprio |
( |
int |
tid, |
|
|
int * |
prio |
|
) |
| |
◆ thr_join()
int thr_join |
( |
int |
tid, |
|
|
int * |
depature, |
|
|
void ** |
status |
|
) |
| |
◆ thr_kill()
int thr_kill |
( |
int |
tid, |
|
|
int |
sig |
|
) |
| |
◆ thr_self()
◆ thr_setprio()
int thr_setprio |
( |
int |
tid, |
|
|
int |
prio |
|
) |
| |
◆ thr_suspend()
int thr_suspend |
( |
int |
tid | ) |
|
◆ thread_table
pthread_t thread_table[MAXTHREAD][2] |