pthread_t
extern int pthread_attr_get_np(pthread_t thread, pthread_attr_t* attr);
int pthread_sigqueue(pthread_t thread, int sig, const union sigval value);
extern thread_id get_pthread_thread_id(pthread_t thread);
extern int pthread_getcpuclockid(pthread_t thread_id, clockid_t* clock_id);
extern int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
extern int pthread_detach(pthread_t thread);
extern int pthread_equal(pthread_t t1, pthread_t t2);
extern int pthread_join(pthread_t thread, void **_value);
extern pthread_t pthread_self(void);
extern int pthread_cancel(pthread_t thread);
extern int pthread_getschedparam(pthread_t thread, int *policy,
extern int pthread_setschedparam(pthread_t thread, int policy,
int pthread_kill(pthread_t thread, int _signal);
typedef pthread_t thrd_t;
int __pthread_getname_np(pthread_t thread, char* buffer, size_t length);
int __pthread_setname_np(pthread_t thread, const char* name);
const pthread_attr_t* pthreadAttributes, pthread_t thread,
pthread_t pthread;
pthread_t pthread; // pthread pointer
pthread_sigqueue(pthread_t thread, int sig, const union sigval userValue)
(pthread_t *thread, const pthread_attr_t *attr,
WRAPPER_FUNCTION(int, pthread_detach, (pthread_t thread),
WRAPPER_FUNCTION(int, pthread_join, (pthread_t thread, void **_value),
WRAPPER_FUNCTION(int, pthread_kill, (pthread_t thread, int sig),
WRAPPER_FUNCTION(int, pthread_cancel, (pthread_t thread),
(pthread_t thread, int *policy, struct sched_param *param),
(pthread_t thread, int policy, const struct sched_param *param),
pthread_t pthread;
pthread_t thr;
pthread_t self = pthread__self();
pthread_t thread, status_t (*entryFunction)(void*, void*),
__pthread_join(pthread_t thread, void** _value, int flags = 0, bigtime_t timeout = 0)
pthread_create(pthread_t* _thread, const pthread_attr_t* attr,
pthread_t
pthread_equal(pthread_t t1, pthread_t t2)
pthread_join(pthread_t thread, void** _value)
pthread_kill(pthread_t thread, int sig)
pthread_detach(pthread_t thread)
pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param)
pthread_setschedparam(pthread_t thread, int policy,
pthread_getname_np(pthread_t thread, char* buffer, size_t length)
pthread_setname_np(pthread_t thread, const char* name)
pthread_timedjoin_np(pthread_t thread, void** _value, const struct timespec* abstime)
get_pthread_thread_id(pthread_t thread)
int __pthread_attr_get_np(pthread_t thread, pthread_attr_t *_attr);
int __pthread_getattr_np(pthread_t thread, pthread_attr_t *_attr);
__pthread_attr_get_np(pthread_t thread, pthread_attr_t *_attr)
__pthread_getattr_np(pthread_t thread, pthread_attr_t *_attr)
pthread_t thread = pthread_self();
pthread_cancel(pthread_t thread)
pthread_getcpuclockid(pthread_t thread, clockid_t* _clockID)
pthread_t threads[2];
pthread_t thread;
pthread_t ids[THREAD_COUNT];
pthread_t t;
static pthread_t tid[4];
pthread_t thread;
pthread_t ids[count];
pthread_t thr[numThreads];