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

◆ rwlock_t

typedef struct _rwlock rwlock_t

◆ sema_t

typedef struct _sema sema_t

Function Documentation

◆ mthread()

int mthread ( context ctx,
pointer  mod 
)

Definition at line 536 of file mthread.c.

◆ rw_rdlock()

int rw_rdlock ( rwlock_t )

Definition at line 179 of file pthreads.c.

◆ rw_unlock()

int rw_unlock ( rwlock_t )

Definition at line 197 of file pthreads.c.

◆ rw_wrlock()

int rw_wrlock ( rwlock_t )

Definition at line 188 of file pthreads.c.

◆ rwlock_destroy()

int rwlock_destroy ( rwlock_t )

Definition at line 172 of file pthreads.c.

◆ rwlock_init()

int rwlock_init ( rwlock_t ,
int  ,
void *   
)

Definition at line 164 of file pthreads.c.

◆ sema_destroy()

int sema_destroy ( sema_t )

Definition at line 118 of file pthreads.c.

◆ sema_init()

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

Definition at line 111 of file pthreads.c.

◆ sema_port()

int sema_port ( sema_t )

◆ sema_trywait()

int sema_trywait ( sema_t )

Definition at line 133 of file pthreads.c.

◆ sema_wait()

int sema_wait ( sema_t )

Definition at line 124 of file pthreads.c.

◆ thr_continue()

int thr_continue ( int  )

Definition at line 58 of file pthreads.c.

◆ thr_create()

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

Definition at line 43 of file pthreads.c.

◆ thr_getprio()

int thr_getprio ( int  tid,
int *  prio 
)

Definition at line 21 of file pthreads.c.

◆ thr_kill()

int thr_kill ( int  ,
int   
)

Definition at line 70 of file pthreads.c.

◆ thr_self()

unsigned int thr_self ( )

Definition at line 25 of file eus.c.

◆ thr_setprio()

int thr_setprio ( int  ,
int   
)

Definition at line 30 of file pthreads.c.

◆ thr_suspend()

int thr_suspend ( int  )

Definition at line 64 of file pthreads.c.

Variable Documentation

◆ alloc_lock

mutex_t alloc_lock

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

◆ free_thread_lock

mutex_t free_thread_lock

Definition at line 13 of file mthread.c.

◆ free_thread_sem

sema_t free_thread_sem

Definition at line 11 of file mthread.c.

◆ gc_lock

rwlock_t gc_lock

Definition at line 18 of file mthread.c.

◆ mark_lock

mutex_t mark_lock

Definition at line 25 of file mthread.c.

◆ mark_lock_thread

int mark_lock_thread

Definition at line 27 of file mthread.c.

◆ mark_locking

char* mark_locking

Definition at line 26 of file mthread.c.

◆ qsort_lock

mutex_t qsort_lock

Definition at line 21 of file mthread.c.

◆ qthread_lock

mutex_t qthread_lock

Definition at line 14 of file mthread.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 15 2023 02:06:43