Functions | Variables
pthreads.c File Reference
#include "eus.h"
#include <errno.h>
Include dependency graph for pthreads.c:

Go to the source code of this file.

Functions

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)
 

Variables

pthread_t thread_table [MAXTHREAD][2]
 

Function Documentation

int rw_rdlock ( rwlock_t rw)

Definition at line 179 of file pthreads.c.

int rw_unlock ( rwlock_t rw)

Definition at line 197 of file pthreads.c.

int rw_wrlock ( rwlock_t rw)

Definition at line 188 of file pthreads.c.

int rwlock_destroy ( rwlock_t rw)

Definition at line 172 of file pthreads.c.

int rwlock_init ( rwlock_t rw,
int  c,
void *  d 
)

Definition at line 164 of file pthreads.c.

int sema_destroy ( sema_t sem)

Definition at line 118 of file pthreads.c.

int sema_init ( sema_t sem,
unsigned int  c,
int  d,
void *  e 
)

Definition at line 111 of file pthreads.c.

int sema_post ( sema_t sem)

Definition at line 148 of file pthreads.c.

int sema_trywait ( sema_t sem)

Definition at line 133 of file pthreads.c.

int sema_wait ( sema_t sem)

Definition at line 124 of file pthreads.c.

int thr_continue ( int  tid)

Definition at line 58 of file pthreads.c.

int thr_create ( void *  base,
size_t  size,
void(*)()  func,
void *  args,
long  flags,
int *  tid 
)

Definition at line 43 of file pthreads.c.

int thr_getprio ( int  tid,
int *  prio 
)

Definition at line 21 of file pthreads.c.

int thr_join ( int  tid,
int *  depature,
void **  status 
)

Definition at line 75 of file pthreads.c.

int thr_kill ( int  tid,
int  sig 
)

Definition at line 70 of file pthreads.c.

int thr_self ( void  )

Definition at line 12 of file pthreads.c.

int thr_setprio ( int  tid,
int  prio 
)

Definition at line 30 of file pthreads.c.

int thr_suspend ( int  tid)

Definition at line 64 of file pthreads.c.

Variable Documentation

pthread_t thread_table[MAXTHREAD][2]

Definition at line 10 of file pthreads.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 6 2019 20:00:44