#ifdefined(__BIONIC__) // Our host glibc is too old.
pthread_t t = PTHREAD_NULL; #endif
FUNCTION(pthread_atfork, int (*f)(void (*)(void), void (*)(void), void (*)(void)));
FUNCTION(pthread_attr_destroy, int (*f)(pthread_attr_t*));
FUNCTION(pthread_attr_getdetachstate, int (*f)(const pthread_attr_t*, int*));
FUNCTION(pthread_attr_getguardsize, int (*f)(const pthread_attr_t*, size_t*));
FUNCTION(pthread_attr_getinheritsched, int (*f)(const pthread_attr_t*, int*));
FUNCTION(pthread_attr_getschedparam, int (*f)(const pthread_attr_t*, struct sched_param*));
FUNCTION(pthread_attr_getschedpolicy, int (*f)(const pthread_attr_t*, int*));
FUNCTION(pthread_attr_getscope, int (*f)(const pthread_attr_t*, int*));
FUNCTION(pthread_attr_getstack, int (*f)(const pthread_attr_t*, void**, size_t*));
FUNCTION(pthread_attr_getstacksize, int (*f)(const pthread_attr_t*, size_t*));
FUNCTION(pthread_attr_init, int (*f)(pthread_attr_t*));
FUNCTION(pthread_attr_setdetachstate, int (*f)(pthread_attr_t*, int));
FUNCTION(pthread_attr_setguardsize, int (*f)(pthread_attr_t*, size_t));
FUNCTION(pthread_attr_setinheritsched, int (*f)(pthread_attr_t*, int));
FUNCTION(pthread_attr_setschedparam, int (*f)(pthread_attr_t*, conststruct sched_param*));
FUNCTION(pthread_attr_setschedpolicy, int (*f)(pthread_attr_t*, int));
FUNCTION(pthread_attr_setscope, int (*f)(pthread_attr_t*, int));
FUNCTION(pthread_attr_setstack, int (*f)(pthread_attr_t*, void*, size_t));
FUNCTION(pthread_attr_setstacksize, int (*f)(pthread_attr_t*, size_t));
FUNCTION(pthread_barrier_destroy, int (*f)(pthread_barrier_t*));
FUNCTION(pthread_barrier_init, int (*f)(pthread_barrier_t*, const pthread_barrierattr_t*, unsigned));
FUNCTION(pthread_barrier_wait, int (*f)(pthread_barrier_t*));
FUNCTION(pthread_barrierattr_destroy, int (*f)(pthread_barrierattr_t*));
FUNCTION(pthread_barrierattr_getpshared, int (*f)(const pthread_barrierattr_t*, int*));
FUNCTION(pthread_barrierattr_init, int (*f)(pthread_barrierattr_t*));
FUNCTION(pthread_barrierattr_setpshared, int (*f)(pthread_barrierattr_t*, int)); #if !defined(__BIONIC__) // No thread cancellation on Android.
FUNCTION(pthread_cancel, int (*f)(pthread_t)); #endif
FUNCTION(pthread_cond_broadcast, int (*f)(pthread_cond_t*)); #if !defined(__GLIBC__) // Our glibc is too old.
FUNCTION(pthread_cond_clockwait, int (*f)(pthread_cond_t*, pthread_mutex_t*, clockid_t, conststruct timespec*)); #endif
FUNCTION(pthread_cond_destroy, int (*f)(pthread_cond_t*));
FUNCTION(pthread_cond_init, int (*f)(pthread_cond_t*, const pthread_condattr_t*));
FUNCTION(pthread_cond_signal, int (*f)(pthread_cond_t*));
FUNCTION(pthread_cond_timedwait, int (*f)(pthread_cond_t*, pthread_mutex_t*, conststruct timespec*));
FUNCTION(pthread_cond_wait, int (*f)(pthread_cond_t*, pthread_mutex_t*));
FUNCTION(pthread_condattr_destroy, int (*f)(pthread_condattr_t*));
FUNCTION(pthread_condattr_getclock, int (*f)(const pthread_condattr_t*, clockid_t*));
FUNCTION(pthread_condattr_getpshared, int (*f)(const pthread_condattr_t*, int*));
FUNCTION(pthread_condattr_init, int (*f)(pthread_condattr_t*));
FUNCTION(pthread_condattr_setclock, int (*f)(pthread_condattr_t*, clockid_t));
FUNCTION(pthread_condattr_setpshared, int (*f)(pthread_condattr_t*, int));
FUNCTION(pthread_create, int (*f)(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*));
FUNCTION(pthread_detach, int (*f)(pthread_t));
FUNCTION(pthread_equal, int (*f)(pthread_t, pthread_t));
FUNCTION(pthread_exit, void (*f)(void*)); #if !defined(__BIONIC__) // Marked obsolescent.
FUNCTION(pthread_getconcurrency, int (*f)(void)); #endif
FUNCTION(pthread_getcpuclockid, int (*f)(pthread_t, clockid_t*));
FUNCTION(pthread_getschedparam, int (*f)(pthread_t, int*, struct sched_param*));
FUNCTION(pthread_getspecific, void* (*f)(pthread_key_t));
FUNCTION(pthread_join, int (*f)(pthread_t, void**));
FUNCTION(pthread_key_create, int (*f)(pthread_key_t*, void (*)(void*)));
FUNCTION(pthread_key_delete, int (*f)(pthread_key_t)); #if !defined(__GLIBC__) // Our glibc is too old.
FUNCTION(pthread_mutex_clocklock, int (*f)(pthread_mutex_t*, clockid_t, conststruct timespec*)); #endif #if !defined(__BIONIC__) // No robust mutexes on Android.
FUNCTION(pthread_mutex_consistent, int (*f)(pthread_mutex_t*)); #endif
FUNCTION(pthread_mutex_destroy, int (*f)(pthread_mutex_t*)); #if !defined(__BIONIC__) // No robust mutexes on Android.
FUNCTION(pthread_mutex_getprioceiling, int (*f)(const pthread_mutex_t*, int*)); #endif
FUNCTION(pthread_mutex_init, int (*f)(pthread_mutex_t*, const pthread_mutexattr_t*));
FUNCTION(pthread_mutex_lock, int (*f)(pthread_mutex_t*)); #if !defined(__BIONIC__) // No robust mutexes on Android.
FUNCTION(pthread_mutex_setprioceiling, int (*f)(pthread_mutex_t*, int, int*)); #endif
FUNCTION(pthread_mutex_timedlock, int (*f)(pthread_mutex_t*, conststruct timespec*));
FUNCTION(pthread_mutex_trylock, int (*f)(pthread_mutex_t*));
FUNCTION(pthread_mutex_unlock, int (*f)(pthread_mutex_t*));
FUNCTION(pthread_mutexattr_destroy, int (*f)(pthread_mutexattr_t*)); #if !defined(__BIONIC__) // No robust mutexes on Android.
FUNCTION(pthread_mutexattr_getprioceiling, int (*f)(const pthread_mutexattr_t*, int*)); #endif
FUNCTION(pthread_mutexattr_getprotocol, int (*f)(const pthread_mutexattr_t*, int*));
FUNCTION(pthread_mutexattr_getpshared, int (*f)(const pthread_mutexattr_t*, int*)); #if !defined(__BIONIC__) // No robust mutexes on Android.
FUNCTION(pthread_mutexattr_getrobust, int (*f)(const pthread_mutexattr_t*, int*)); #endif
FUNCTION(pthread_mutexattr_gettype, int (*f)(const pthread_mutexattr_t*, int*));
FUNCTION(pthread_mutexattr_init, int (*f)(pthread_mutexattr_t*)); #if !defined(__BIONIC__) // No robust mutexes on Android.
FUNCTION(pthread_mutexattr_setprioceiling, int (*f)(pthread_mutexattr_t*, int)); #endif
FUNCTION(pthread_mutexattr_setprotocol, int (*f)(pthread_mutexattr_t*, int));
FUNCTION(pthread_mutexattr_setpshared, int (*f)(pthread_mutexattr_t*, int)); #if !defined(__BIONIC__) // No robust mutexes on Android.
FUNCTION(pthread_mutexattr_setrobust, int (*f)(pthread_mutexattr_t*, int)); #endif
FUNCTION(pthread_mutexattr_settype, int (*f)(pthread_mutexattr_t*, int));
FUNCTION(pthread_once, int (*f)(pthread_once_t*, void (*)(void))); #if !defined(__GLIBC__) // Our glibc is too old.
FUNCTION(pthread_rwlock_clockrdlock, int (*f)(pthread_rwlock_t*, clockid_t, conststruct timespec*));
FUNCTION(pthread_rwlock_clockwrlock, int (*f)(pthread_rwlock_t*, clockid_t, conststruct timespec*)); #endif
FUNCTION(pthread_rwlock_destroy, int (*f)(pthread_rwlock_t*));
FUNCTION(pthread_rwlock_init, int (*f)(pthread_rwlock_t*, const pthread_rwlockattr_t*));
FUNCTION(pthread_rwlock_rdlock, int (*f)(pthread_rwlock_t*));
FUNCTION(pthread_rwlock_timedrdlock, int (*f)(pthread_rwlock_t*, conststruct timespec*));
FUNCTION(pthread_rwlock_timedwrlock, int (*f)(pthread_rwlock_t*, conststruct timespec*));
FUNCTION(pthread_rwlock_tryrdlock, int (*f)(pthread_rwlock_t*));
FUNCTION(pthread_rwlock_trywrlock, int (*f)(pthread_rwlock_t*));
FUNCTION(pthread_rwlock_unlock, int (*f)(pthread_rwlock_t*));
FUNCTION(pthread_rwlock_wrlock, int (*f)(pthread_rwlock_t*));
FUNCTION(pthread_rwlockattr_destroy, int (*f)(pthread_rwlockattr_t*));
FUNCTION(pthread_rwlockattr_getpshared, int (*f)(const pthread_rwlockattr_t*, int*));
FUNCTION(pthread_rwlockattr_init, int (*f)(pthread_rwlockattr_t*));
FUNCTION(pthread_rwlockattr_setpshared, int (*f)(pthread_rwlockattr_t*, int));
FUNCTION(pthread_self, pthread_t (*f)(void)); #if !defined(__BIONIC__) // No thread cancellation on Android.
FUNCTION(pthread_setcancelstate, int (*f)(int, int*));
FUNCTION(pthread_setcanceltype, int (*f)(int, int*)); #endif #if !defined(__BIONIC__) // Marked obsolescent.
FUNCTION(pthread_setconcurrency, int (*f)(int)); #endif
FUNCTION(pthread_setschedparam, int (*f)(pthread_t, int, conststruct sched_param*));
FUNCTION(pthread_setschedprio, int (*f)(pthread_t, int));
FUNCTION(pthread_setspecific, int (*f)(pthread_key_t, constvoid*));
FUNCTION(pthread_spin_destroy, int (*f)(pthread_spinlock_t*));
FUNCTION(pthread_spin_init, int (*f)(pthread_spinlock_t*, int));
FUNCTION(pthread_spin_lock, int (*f)(pthread_spinlock_t*));
FUNCTION(pthread_spin_trylock, int (*f)(pthread_spinlock_t*));
FUNCTION(pthread_spin_unlock, int (*f)(pthread_spinlock_t*)); #if !defined(__BIONIC__) // No thread cancellation on Android.
FUNCTION(pthread_testcancel, void (*f)(void)); #endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.