|
int | pthread_create (FAR pthread_t *thread, FAR const pthread_attr_t *attr, pthread_startroutine_t startroutine, pthread_addr_t arg) |
| thread creation More...
|
|
int | pthread_detach (pthread_t thread) |
| detach a thread More...
|
|
void | pthread_exit (pthread_addr_t value) noreturn_function |
| thread termination More...
|
|
int | pthread_cancel (pthread_t thread) |
| cancel execution of a thread More...
|
|
int | pthread_setcancelstate (int state, FAR int *oldstate) |
| set cancelability state More...
|
|
int | pthread_setcanceltype (int type, FAR int *oldtype) |
| set cancelability state More...
|
|
void | pthread_testcancel (void) |
| set cancelability state More...
|
|
int | pthread_join (pthread_t thread, FAR pthread_addr_t *value) |
| wait for thread termination More...
|
|
void | pthread_yield (void) |
| yield the processor More...
|
|
int | pthread_getschedparam (pthread_t thread, FAR int *policy, FAR struct sched_param *param) |
| dynamic thread scheduling parameters access More...
|
|
int | pthread_setschedparam (pthread_t thread, int policy, FAR const struct sched_param *param) |
| dynamic thread scheduling parameters access More...
|
|
int | pthread_setschedprio (pthread_t thread, int prio) |
| dynamic thread scheduling parameters access More...
|
|
int | pthread_key_create (FAR pthread_key_t *key, CODE void(*destructor)(FAR void *)) |
| thread-specific data key creation More...
|
|
int | pthread_setspecific (pthread_key_t key, FAR const void *value) |
| thread-specific data management More...
|
|
FAR void * | pthread_getspecific (pthread_key_t key) |
| thread-specific data management More...
|
|
int | pthread_mutex_init (FAR pthread_mutex_t *mutex, FAR const pthread_mutexattr_t *attr) |
| initialize a mutex More...
|
|
int | pthread_mutex_destroy (FAR pthread_mutex_t *mutex) |
| destroy a mutex More...
|
|
int | pthread_mutex_lock (FAR pthread_mutex_t *mutex) |
| lock a mutex More...
|
|
int | pthread_mutex_trylock (FAR pthread_mutex_t *mutex) |
| try to lock a mutex More...
|
|
int | pthread_mutex_unlock (FAR pthread_mutex_t *mutex) |
| unlock a mutex More...
|
|
int | pthread_cond_init (FAR pthread_cond_t *cond, FAR const pthread_condattr_t *attr) |
| initialize condition variables More...
|
|
int | pthread_cond_destroy (FAR pthread_cond_t *cond) |
| destroy condition variables More...
|
|
int | pthread_cond_broadcast (FAR pthread_cond_t *cond) |
| broadcast a condition More...
|
|
int | pthread_cond_signal (FAR pthread_cond_t *cond) |
| signal a condition More...
|
|
int | pthread_cond_wait (FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex) |
| wait on a condition More...
|
|
int | pthread_cond_timedwait (FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex, FAR const struct timespec *abstime) |
| wait on a condition More...
|
|
int | pthread_barrier_destroy (FAR pthread_barrier_t *barrier) |
| destroy a barrier object More...
|
|
int | pthread_barrier_init (FAR pthread_barrier_t *barrier, FAR const pthread_barrierattr_t *attr, unsigned int count) |
| initialize a barrier object More...
|
|
int | pthread_barrier_wait (FAR pthread_barrier_t *barrier) |
| synchronize at a barrier More...
|
|
int | pthread_once (FAR pthread_once_t *once_control, CODE void(*init_routine)(void)) |
| dynamic package initialization More...
|
|
int | pthread_kill (pthread_t thread, int sig) |
| send a signal to a thread More...
|
|
int | pthread_sigmask (int how, FAR const sigset_t *set, FAR sigset_t *oset) |
| examine and change blocked signals More...
|
|
int | pthread_attr_init (FAR pthread_attr_t *attr) |
| initialize the thread attributes object More...
|
|
int | pthread_attr_destroy (pthread_attr_t *attr) |
| destroy the thread attributes object More...
|
|
int | pthread_attr_setschedpolicy (FAR pthread_attr_t *attr, int policy) |
| set the schedpolicy attribute More...
|
|
int | pthread_attr_getschedpolicy (FAR const pthread_attr_t *attr, int *policy) |
| get the schedpolicy attribute More...
|
|
int | pthread_attr_setschedparam (FAR pthread_attr_t *attr, FAR const struct sched_param *param) |
| set the schedparam attribute More...
|
|
int | pthread_attr_getschedparam (FAR const pthread_attr_t *attr, FAR struct sched_param *param) |
| get the schedparam attribute More...
|
|
int | pthread_attr_setinheritsched (FAR pthread_attr_t *attr, int inheritsched) |
| set the inheritsched attribute More...
|
|
int | pthread_attr_getinheritsched (FAR const pthread_attr_t *attr, FAR int *inheritsched) |
| get the inheritsched attribute More...
|
|
int | pthread_attr_setstacksize (FAR pthread_attr_t *attr, long stacksize) |
| set the stacksize attribute More...
|
|
int | pthread_attr_getstacksize (FAR const pthread_attr_t *attr, long *stackaddr) |
| get the stacksize attribute More...
|
|
int | pthread_mutexattr_init (FAR pthread_mutexattr_t *attr) |
| initialize the mutex attributes object More...
|
|
int | pthread_mutexattr_destroy (FAR pthread_mutexattr_t *attr) |
| destroy the mutex attributes object More...
|
|
int | pthread_mutexattr_getpshared (FAR const pthread_mutexattr_t *attr, FAR int *pshared) |
| get the process-shared attribute More...
|
|
int | pthread_mutexattr_setpshared (FAR pthread_mutexattr_t *attr, int pshared) |
| set the process-shared attribute More...
|
|
int | pthread_mutexattr_gettype (const pthread_mutexattr_t *attr, int *type) |
| get the mutex type attribute More...
|
|
int | pthread_mutexattr_settype (pthread_mutexattr_t *attr, int type) |
| set the mutex type attribute More...
|
|
int | pthread_mutexattr_getprotocol (FAR const pthread_mutexattr_t *attr, FAR int *protocol) |
| get the protocol attribute of the mutex attributes object More...
|
|
int | pthread_mutexattr_setprotocol (FAR pthread_mutexattr_t *attr, int protocol) |
| set the protocol attribute of the mutex attributes object More...
|
|
int | pthread_mutexattr_getrobust (FAR const pthread_mutexattr_t *attr, FAR int *robust) |
| get the mutex robust attribute More...
|
|
int | pthread_mutexattr_setrobust (FAR pthread_mutexattr_t *attr, int robust) |
| set the mutex robust attribute More...
|
|
int | pthread_condattr_init (FAR pthread_condattr_t *attr) |
| initialize the condition variable attributes object More...
|
|
int | pthread_condattr_destroy (FAR pthread_condattr_t *attr) |
| destroy the condition variable attributes object More...
|
|
int | pthread_barrierattr_destroy (FAR pthread_barrierattr_t *attr) |
| destroy the barrier attributes object More...
|
|
int | pthread_barrierattr_init (FAR pthread_barrierattr_t *attr) |
| initialize the barrier attributes object More...
|
|
int | pthread_barrierattr_getpshared (FAR const pthread_barrierattr_t *attr, FAR int *pshared) |
| get the process-shared attribute of the barrier attributes object More...
|
|
int | pthread_barrierattr_setpshared (FAR pthread_barrierattr_t *attr, int pshared) |
| set the process-shared attribute of the barrier attributes object More...
|
|
int | pthread_rwlock_destroy (FAR pthread_rwlock_t *rw_lock) |
| destroy a read-write lock object More...
|
|
int | pthread_rwlock_init (FAR pthread_rwlock_t *rw_lock, FAR const pthread_rwlockattr_t *attr) |
| initialize a read-write lock object More...
|
|
int | pthread_rwlock_rdlock (pthread_rwlock_t *lock) |
| lock a read-write lock object for reading More...
|
|
int | pthread_rwlock_timedrdlock (FAR pthread_rwlock_t *lock, FAR const struct timespec *abstime) |
| lock a read-write lock for reading More...
|
|
int | pthread_rwlock_timedwrlock (FAR pthread_rwlock_t *lock, FAR const struct timespec *abstime) |
| lock a read-write lock for writing More...
|
|
int | pthread_rwlock_tryrdlock (FAR pthread_rwlock_t *lock) |
| lock a read-write lock object for reading More...
|
|
int | pthread_rwlock_trywrlock (FAR pthread_rwlock_t *lock) |
| lock a read-write lock object for reading More...
|
|
int | pthread_rwlock_unlock (FAR pthread_rwlock_t *lock) |
| unlock a read-write lock object More...
|
|
int | pthread_rwlock_wrlock (FAR pthread_rwlock_t *lock) |
| lock a read-write lock object for writing More...
|
|
Pthread APIs.
Definition in file pthread.h.