-
-
Notifications
You must be signed in to change notification settings - Fork 9
posix pthread
IsaacShelton edited this page Nov 13, 2022
·
5 revisions
posix/pthread.adept contains definitions for using posix threads on Windows, MacOS, and Linux.
struct pthread_t (/* ??? */)
struct pthread_mutex_t (/* ??? */)
struct pthread_cond_t (/* ??? */)
struct pthread_rwlock_t (/* ??? */)
struct pthread_once_t (/* ??? */)
struct pthread_mutexattr_t (/* ??? */)
struct pthread_key_t (/* ??? */)
struct pthread_condattr_t (/* ??? */)
struct pthread_rwlockattr_t (/* ??? */)
struct pthread_attr_t (/* ??? */)
struct sched_param (/* ??? */)
struct timespec (tv_sec time_t, tv_nsec int)
foreign pthread_attr_destroy(*pthread_attr_t) intforeign pthread_attr_getdetachstate(*pthread_attr_t, *int) intforeign pthread_attr_getguardsize(*pthread_attr_t, *usize) intforeign pthread_attr_getinheritsched(*pthread_attr_t, *int) intforeign pthread_attr_getschedparam(*pthread_attr_t, *sched_param) intforeign pthread_attr_getschedpolicy(*pthread_attr_t, *int) intforeign pthread_attr_getscope(*pthread_attr_t, *int) intforeign pthread_attr_getstackaddr(*pthread_attr_t, *ptr) intforeign pthread_attr_getstacksize(*pthread_attr_t, *usize) intforeign pthread_attr_init(*pthread_attr_t) intforeign pthread_attr_setdetachstate(*pthread_attr_t, int) intforeign pthread_attr_setguardsize(*pthread_attr_t, usize) intforeign pthread_attr_setinheritsched(*pthread_attr_t, int) intforeign pthread_attr_setschedparam(*pthread_attr_t, *sched_param) intforeign pthread_attr_setschedpolicy(*pthread_attr_t, int) intforeign pthread_attr_setscope(*pthread_attr_t, int) intforeign pthread_attr_setstackaddr(*pthread_attr_t, ptr) intforeign pthread_attr_setstacksize(*pthread_attr_t, usize) intforeign pthread_cancel(pthread_t) intforeign pthread_cleanup_push(func(ptr) void, ptr) voidforeign pthread_cleanup_pop(int) voidforeign pthread_cond_broadcast(*pthread_cond_t) intforeign pthread_cond_destroy(*pthread_cond_t) intforeign pthread_cond_init(*pthread_cond_t, *pthread_condattr_t) intforeign pthread_cond_signal(*pthread_cond_t) intforeign pthread_cond_timedwait(*pthread_cond_t, *pthread_mutex_t, *timespec) intforeign pthread_cond_wait(*pthread_cond_t, *pthread_mutex_t) intforeign pthread_condattr_destroy(*pthread_condattr_t) intforeign pthread_condattr_getpshared(*pthread_condattr_t, *int) intforeign pthread_condattr_init(*pthread_condattr_t) intforeign pthread_condattr_setpshared(*pthread_condattr_t, int) intforeign pthread_create(*pthread_t, *pthread_attr_t, func(ptr) ptr, ptr) intforeign pthread_detach(pthread_t) intforeign pthread_equal(pthread_t, pthread_t) intforeign pthread_exit(ptr) voidforeign pthread_getconcurrency() intforeign pthread_getschedparam(pthread_t, *int, *sched_param) intforeign pthread_getspecific(pthread_key_t) ptrforeign pthread_join(pthread_t, *ptr) intforeign pthread_key_create(*pthread_key_t, func(ptr) void) intforeign pthread_key_delete(pthread_key_t) intforeign pthread_mutex_destroy(*pthread_mutex_t) intforeign pthread_mutex_getprioceiling(*pthread_mutex_t, *int) intforeign pthread_mutex_init(*pthread_mutex_t, *pthread_mutexattr_t) intforeign pthread_mutex_lock(*pthread_mutex_t) intforeign pthread_mutex_setprioceiling(*pthread_mutex_t, int, *int) intforeign pthread_mutex_trylock(*pthread_mutex_t) intforeign pthread_mutex_unlock(*pthread_mutex_t) intforeign pthread_mutexattr_destroy(*pthread_mutexattr_t) intforeign pthread_mutexattr_getprioceiling(*pthread_mutexattr_t, *int) intforeign pthread_mutexattr_getprotocol(*pthread_mutexattr_t, *int) intforeign pthread_mutexattr_getpshared(*pthread_mutexattr_t, *int) intforeign pthread_mutexattr_gettype(*pthread_mutexattr_t, *int) intforeign pthread_mutexattr_init(*pthread_mutexattr_t) intforeign pthread_mutexattr_setprioceiling(*pthread_mutexattr_t, int) intforeign pthread_mutexattr_setprotocol(*pthread_mutexattr_t, int) intforeign pthread_mutexattr_setpshared(*pthread_mutexattr_t, int) intforeign pthread_mutexattr_settype(*pthread_mutexattr_t, int) intforeign pthread_once(*pthread_once_t, func() void) intforeign pthread_rwlock_destroy(*pthread_rwlock_t) intforeign pthread_rwlock_init(*pthread_rwlock_t, *pthread_rwlockattr_t) intforeign pthread_rwlock_rdlock(*pthread_rwlock_t) intforeign pthread_rwlock_tryrdlock(*pthread_rwlock_t) intforeign pthread_rwlock_trywrlock(*pthread_rwlock_t) intforeign pthread_rwlock_unlock(*pthread_rwlock_t) intforeign pthread_rwlock_wrlock(*pthread_rwlock_t) intforeign pthread_rwlockattr_destroy(*pthread_rwlockattr_t) intforeign pthread_rwlockattr_getpshared(*pthread_rwlockattr_t, *int) intforeign pthread_rwlockattr_init(*pthread_rwlockattr_t) intforeign pthread_rwlockattr_setpshared(*pthread_rwlockattr_t, int) intforeign pthread_self() pthread_tforeign pthread_setcancelstate(int, *int) intforeign pthread_setcanceltype(int, *int) intforeign pthread_setconcurrency(int) intforeign pthread_setschedparam(pthread_t, int, *sched_param) intforeign pthread_setspecific(pthread_key_t, ptr) intforeign pthread_testcancel() void