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

◆ AFUNCALL()

pointer AFUNCALL ( context ctx,
int  n,
argv   
)

Definition at line 149 of file mthread.c.

◆ AFUNCALL_NO_WAIT()

pointer AFUNCALL_NO_WAIT ( context ctx,
int  n,
argv   
)

Definition at line 172 of file mthread.c.

◆ COND_SIGNAL()

pointer COND_SIGNAL ( context ctx,
int  n,
argv   
)

Definition at line 310 of file mthread.c.

◆ COND_WAIT()

pointer COND_WAIT ( context ctx,
int  n,
argv   
)

Definition at line 301 of file mthread.c.

◆ FREE_THREADS()

pointer FREE_THREADS ( context ctx,
int  n,
argv   
)

Definition at line 208 of file mthread.c.

◆ get_free_thread()

pointer get_free_thread ( )

Definition at line 30 of file mthread.c.

◆ MAKE_COND()

pointer MAKE_COND ( context ctx,
int  n,
argv   
)

Definition at line 279 of file mthread.c.

◆ MAKE_MUTEX_LOCK()

pointer MAKE_MUTEX_LOCK ( context ctx,
int  n,
argv   
)

Definition at line 222 of file mthread.c.

◆ MAKE_SEMAPHORE()

pointer MAKE_SEMAPHORE ( context ctx,
int  n,
argv   
)

Definition at line 322 of file mthread.c.

◆ MAKE_THREAD()

pointer MAKE_THREAD ( context ctx,
int  n,
argv   
)

Definition at line 103 of file mthread.c.

◆ mthread()

int mthread ( context ctx,
pointer  mod 
)

Definition at line 536 of file mthread.c.

◆ MUTEX_LOCK()

pointer MUTEX_LOCK ( context ctx,
int  n,
argv   
)

Definition at line 246 of file mthread.c.

◆ MUTEX_TRYLOCK()

pointer MUTEX_TRYLOCK ( context ctx,
int  n,
argv   
)

Definition at line 255 of file mthread.c.

◆ MUTEX_UNLOCK()

pointer MUTEX_UNLOCK ( context ctx,
int  n,
argv   
)

Definition at line 268 of file mthread.c.

◆ newthread()

void newthread ( struct thread_arg ta)

Definition at line 419 of file mthread.c.

◆ SEMA_POST()

pointer SEMA_POST ( context ctx,
int  n,
argv   
)

Definition at line 331 of file mthread.c.

◆ SEMA_TRYWAIT()

pointer SEMA_TRYWAIT ( context ctx,
int  n,
argv   
)

Definition at line 347 of file mthread.c.

◆ SEMA_WAIT()

pointer SEMA_WAIT ( context ctx,
int  n,
argv   
)

Definition at line 339 of file mthread.c.

◆ THR_CONTINUE()

pointer THR_CONTINUE ( context ctx,
int  n,
argv   
)

Definition at line 498 of file mthread.c.

◆ THR_CREATE()

pointer THR_CREATE ( context ctx,
int  n,
argv   
)

Definition at line 438 of file mthread.c.

◆ THR_GETCONCURRENCY()

pointer THR_GETCONCURRENCY ( context ctx,
int  n,
argv   
)

Definition at line 405 of file mthread.c.

◆ THR_GETPRIO()

pointer THR_GETPRIO ( context ctx,
int  n,
argv   
)

Definition at line 380 of file mthread.c.

◆ THR_KILL()

pointer THR_KILL ( context ctx,
int  n,
argv   
)

Definition at line 468 of file mthread.c.

◆ THR_SELF()

pointer THR_SELF ( context ctx,
int  n,
argv   
)

Definition at line 356 of file mthread.c.

◆ THR_SETCONCURRENCY()

pointer THR_SETCONCURRENCY ( context ctx,
int  n,
argv   
)

Definition at line 390 of file mthread.c.

◆ THR_SETPRIO()

pointer THR_SETPRIO ( context ctx,
int  n,
argv   
)

Definition at line 370 of file mthread.c.

◆ THR_SIGSETMASK()

pointer THR_SIGSETMASK ( context ctx,
int  n,
argv   
)

Definition at line 517 of file mthread.c.

◆ THR_SUSPEND()

pointer THR_SUSPEND ( context ctx,
int  n,
argv   
)

Definition at line 480 of file mthread.c.

◆ thread_main()

void thread_main ( pointer  port)

Definition at line 41 of file mthread.c.

◆ THREAD_SELF()

pointer THREAD_SELF ( context ctx,
int  n,
argv   
)

Definition at line 363 of file mthread.c.

◆ WAIT_AFUNCALL()

pointer WAIT_AFUNCALL ( context ctx,
int  n,
argv   
)

Definition at line 192 of file mthread.c.

Variable Documentation

◆ alloc_lock

mutex_t alloc_lock

Definition at line 17 of file mthread.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.

◆ free_threads

pointer free_threads

Definition at line 12 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.

◆ next_special_index

int next_special_index

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

◆ rcsid

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

Definition at line 6 of file mthread.c.



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