Classes | Typedefs | Functions | Variables
eus_thr.h File Reference
#include <errno.h>
Include dependency graph for eus_thr.h:

Go to the source code of this file.

Classes

struct  _rwlock
struct  _sema
struct  thread_arg

Typedefs

typedef struct _rwlock rwlock_t
typedef struct _sema sema_t

Functions

int mthread (context *ctx, pointer mod)
int rw_rdlock (rwlock_t *)
int rw_unlock (rwlock_t *)
int rw_wrlock (rwlock_t *)
int rwlock_destroy (rwlock_t *)
int rwlock_init (rwlock_t *, int, void *)
int sema_destroy (sema_t *)
int sema_init (sema_t *, unsigned int, int, void *)
int sema_port (sema_t *)
int sema_trywait (sema_t *)
int sema_wait (sema_t *)
int thr_continue (int)
int thr_create (void *, size_t, void(*)(), void *, long, int *)
int thr_getprio (int tid, int *prio)
int thr_kill (int, int)
unsigned int thr_self ()
int thr_setprio (int, int)
int thr_suspend (int)

Variables

mutex_t alloc_lock
mutex_t free_thread_lock
sema_t free_thread_sem
rwlock_t gc_lock
mutex_t mark_lock
int mark_lock_thread
char * mark_locking
mutex_t qsort_lock
mutex_t qthread_lock

Typedef Documentation

typedef struct _rwlock rwlock_t
typedef struct _sema sema_t

Function Documentation

int mthread ( context ctx,
pointer  mod 
)

Definition at line 536 of file mthread.c.

int rw_rdlock ( rwlock_t )

Definition at line 179 of file pthreads.c.

int rw_unlock ( rwlock_t )

Definition at line 197 of file pthreads.c.

int rw_wrlock ( rwlock_t )

Definition at line 188 of file pthreads.c.

int rwlock_destroy ( rwlock_t )

Definition at line 172 of file pthreads.c.

int rwlock_init ( rwlock_t ,
int  ,
void *   
)

Definition at line 164 of file pthreads.c.

int sema_destroy ( sema_t )

Definition at line 118 of file pthreads.c.

int sema_init ( sema_t ,
unsigned  int,
int  ,
void *   
)

Definition at line 111 of file pthreads.c.

int sema_port ( sema_t )
int sema_trywait ( sema_t )

Definition at line 133 of file pthreads.c.

int sema_wait ( sema_t )

Definition at line 124 of file pthreads.c.

int thr_continue ( int  )

Definition at line 58 of file pthreads.c.

int thr_create ( void *  ,
size_t  ,
void(*)()  ,
void *  ,
long  ,
int *   
)

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_kill ( int  ,
int   
)

Definition at line 70 of file pthreads.c.

unsigned int thr_self ( )

Definition at line 25 of file eus.c.

int thr_setprio ( int  ,
int   
)

Definition at line 30 of file pthreads.c.

int thr_suspend ( int  )

Definition at line 64 of file pthreads.c.


Variable Documentation

mutex_t alloc_lock

Definition at line 42 of file memory.mutex.c.

Definition at line 13 of file mthread.c.

Definition at line 11 of file mthread.c.

Definition at line 18 of file mthread.c.

mutex_t mark_lock

Definition at line 25 of file mthread.c.

Definition at line 27 of file mthread.c.

char* mark_locking

Definition at line 26 of file mthread.c.

mutex_t qsort_lock

Definition at line 21 of file mthread.c.

mutex_t qthread_lock

Definition at line 14 of file mthread.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Sep 3 2015 10:36:20