Functions | Variables
mthread.c File Reference

Go to the source code of this file.

Functions

pointer AFUNCALL (context *ctx, int n, argv)
 
pointer AFUNCALL_NO_WAIT (context *ctx, int n, argv)
 
pointer COND_SIGNAL (context *ctx, int n, argv)
 
pointer COND_WAIT (context *ctx, int n, argv)
 
pointer FREE_THREADS (context *ctx, int n, argv)
 
pointer get_free_thread ()
 
pointer MAKE_COND (context *ctx, int n, argv)
 
pointer MAKE_MUTEX_LOCK (context *ctx, int n, argv)
 
pointer MAKE_SEMAPHORE (context *ctx, int n, argv)
 
pointer MAKE_THREAD (context *ctx, int n, argv)
 
int mthread (context *ctx, pointer mod)
 
pointer MUTEX_LOCK (context *ctx, int n, argv)
 
pointer MUTEX_TRYLOCK (context *ctx, int n, argv)
 
pointer MUTEX_UNLOCK (context *ctx, int n, argv)
 
void newthread (struct thread_arg *ta)
 
pointer SEMA_POST (context *ctx, int n, argv)
 
pointer SEMA_TRYWAIT (context *ctx, int n, argv)
 
pointer SEMA_WAIT (context *ctx, int n, argv)
 
pointer THR_CONTINUE (context *ctx, int n, argv)
 
pointer THR_CREATE (context *ctx, int n, argv)
 
pointer THR_GETCONCURRENCY (context *ctx, int n, argv)
 
pointer THR_GETPRIO (context *ctx, int n, argv)
 
pointer THR_KILL (context *ctx, int n, argv)
 
pointer THR_SELF (context *ctx, int n, argv)
 
pointer THR_SETCONCURRENCY (context *ctx, int n, argv)
 
pointer THR_SETPRIO (context *ctx, int n, argv)
 
pointer THR_SIGSETMASK (context *ctx, int n, argv)
 
pointer THR_SUSPEND (context *ctx, int n, argv)
 
void thread_main (pointer port)
 
pointer THREAD_SELF (context *ctx, int n, argv)
 
pointer WAIT_AFUNCALL (context *ctx, int n, argv)
 

Variables

mutex_t alloc_lock
 
mutex_t free_thread_lock
 
sema_t free_thread_sem
 
pointer free_threads
 
rwlock_t gc_lock
 
mutex_t mark_lock
 
int mark_lock_thread
 
char * mark_locking
 
int next_special_index
 
mutex_t qsort_lock
 
mutex_t qthread_lock
 
static char * rcsid ="@(#)$Id$"
 

Function Documentation

pointer AFUNCALL ( context ctx,
int  n,
argv   
)

Definition at line 149 of file mthread.c.

pointer AFUNCALL_NO_WAIT ( context ctx,
int  n,
argv   
)

Definition at line 172 of file mthread.c.

pointer COND_SIGNAL ( context ctx,
int  n,
argv   
)

Definition at line 310 of file mthread.c.

pointer COND_WAIT ( context ctx,
int  n,
argv   
)

Definition at line 301 of file mthread.c.

pointer FREE_THREADS ( context ctx,
int  n,
argv   
)

Definition at line 208 of file mthread.c.

pointer get_free_thread ( )

Definition at line 30 of file mthread.c.

pointer MAKE_COND ( context ctx,
int  n,
argv   
)

Definition at line 279 of file mthread.c.

pointer MAKE_MUTEX_LOCK ( context ctx,
int  n,
argv   
)

Definition at line 222 of file mthread.c.

pointer MAKE_SEMAPHORE ( context ctx,
int  n,
argv   
)

Definition at line 322 of file mthread.c.

pointer MAKE_THREAD ( context ctx,
int  n,
argv   
)

Definition at line 103 of file mthread.c.

int mthread ( context ctx,
pointer  mod 
)

Definition at line 536 of file mthread.c.

pointer MUTEX_LOCK ( context ctx,
int  n,
argv   
)

Definition at line 246 of file mthread.c.

pointer MUTEX_TRYLOCK ( context ctx,
int  n,
argv   
)

Definition at line 255 of file mthread.c.

pointer MUTEX_UNLOCK ( context ctx,
int  n,
argv   
)

Definition at line 268 of file mthread.c.

void newthread ( struct thread_arg ta)

Definition at line 419 of file mthread.c.

pointer SEMA_POST ( context ctx,
int  n,
argv   
)

Definition at line 331 of file mthread.c.

pointer SEMA_TRYWAIT ( context ctx,
int  n,
argv   
)

Definition at line 347 of file mthread.c.

pointer SEMA_WAIT ( context ctx,
int  n,
argv   
)

Definition at line 339 of file mthread.c.

pointer THR_CONTINUE ( context ctx,
int  n,
argv   
)

Definition at line 498 of file mthread.c.

pointer THR_CREATE ( context ctx,
int  n,
argv   
)

Definition at line 438 of file mthread.c.

pointer THR_GETCONCURRENCY ( context ctx,
int  n,
argv   
)

Definition at line 405 of file mthread.c.

pointer THR_GETPRIO ( context ctx,
int  n,
argv   
)

Definition at line 380 of file mthread.c.

pointer THR_KILL ( context ctx,
int  n,
argv   
)

Definition at line 468 of file mthread.c.

pointer THR_SELF ( context ctx,
int  n,
argv   
)

Definition at line 356 of file mthread.c.

pointer THR_SETCONCURRENCY ( context ctx,
int  n,
argv   
)

Definition at line 390 of file mthread.c.

pointer THR_SETPRIO ( context ctx,
int  n,
argv   
)

Definition at line 370 of file mthread.c.

pointer THR_SIGSETMASK ( context ctx,
int  n,
argv   
)

Definition at line 517 of file mthread.c.

pointer THR_SUSPEND ( context ctx,
int  n,
argv   
)

Definition at line 480 of file mthread.c.

void thread_main ( pointer  port)

Definition at line 41 of file mthread.c.

pointer THREAD_SELF ( context ctx,
int  n,
argv   
)

Definition at line 363 of file mthread.c.

pointer WAIT_AFUNCALL ( context ctx,
int  n,
argv   
)

Definition at line 192 of file mthread.c.

Variable Documentation

mutex_t alloc_lock

Definition at line 17 of file mthread.c.

mutex_t free_thread_lock

Definition at line 13 of file mthread.c.

sema_t free_thread_sem

Definition at line 11 of file mthread.c.

pointer free_threads

Definition at line 12 of file mthread.c.

rwlock_t gc_lock

Definition at line 18 of file mthread.c.

mutex_t mark_lock

Definition at line 25 of file mthread.c.

int mark_lock_thread

Definition at line 27 of file mthread.c.

char* mark_locking

Definition at line 26 of file mthread.c.

int next_special_index

Definition at line 658 of file makes.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.

char* rcsid ="@(#)$Id$"
static

Definition at line 6 of file mthread.c.



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