|
#define | _POSIX_THREADS |
|
#define | _POSIX_THREAD_ATTR_STACKSIZE |
|
#define | PTHREAD_PROCESS_PRIVATE 0 |
|
#define | PTHREAD_PROCESS_SHARED 1 |
|
#define | PTHREAD_MUTEX_NORMAL 0 |
|
#define | PTHREAD_MUTEX_ERRORCHECK 1 |
|
#define | PTHREAD_MUTEX_RECURSIVE 2 |
|
#define | PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_NORMAL |
|
#define | PTHREAD_STACK_MIN CONFIG_PTHREAD_STACK_MIN |
|
#define | PTHREAD_STACK_DEFAULT CONFIG_PTHREAD_STACK_DEFAULT |
|
#define | PTHREAD_INHERIT_SCHED 0 |
|
#define | PTHREAD_EXPLICIT_SCHED 1 |
|
#define | PTHREAD_PRIO_NONE 0 |
|
#define | PTHREAD_PRIO_INHERIT 1 |
|
#define | PTHREAD_PRIO_PROTECT 2 |
|
#define | PTHREAD_DEFAULT_PRIORITY 100 |
|
#define | PTHREAD_CANCEL_ENABLE (0) |
|
#define | PTHREAD_CANCEL_DISABLE (1) |
|
#define | PTHREAD_CANCELED ((FAR void*)ERROR) |
|
#define | PTHREAD_ONCE_INIT (false) |
|
#define | PTHREAD_BARRIER_SERIAL_THREAD 0x1000 |
|
#define | pthread_setname_np(thread, name) prctl((int)PR_SET_NAME, (char*)name, (int)thread) |
| sets the name of pthread More...
|
|
#define | pthread_getname_np(thread, name) prctl((int)PR_GET_NAME, (char*)name, (int)thread) |
| gets the name of pthread More...
|
|
#define | PTHREAD_COND_INITIALIZER { {0, 0xffff} } |
|
#define | PTHREAD_MUTEX_INITIALIZER {0, SEM_INITIALIZER(1), PTHREAD_MUTEX_DEFAULT, 0} |
|
#define | pthread_self() ((pthread_t)getpid()) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
#define | pthread_equal(t1, t2) (t1 == t2) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
|
int | pthread_create (FAR pthread_t *thread, FAR const pthread_attr_t *attr, pthread_startroutine_t startroutine, pthread_addr_t arg) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_detach (pthread_t thread) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
void | pthread_exit (pthread_addr_t value) noreturn_function |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_cancel (pthread_t thread) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_setcancelstate (int state, FAR int *oldstate) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_join (pthread_t thread, FAR pthread_addr_t *value) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
void | pthread_yield (void) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_getschedparam (pthread_t thread, FAR int *policy, FAR struct sched_param *param) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_setschedparam (pthread_t thread, int policy, FAR const struct sched_param *param) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_setschedprio (pthread_t thread, int prio) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_key_create (FAR pthread_key_t *key, CODE void(*destructor)(FAR void *)) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_setspecific (pthread_key_t key, FAR const void *value) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
FAR void * | pthread_getspecific (pthread_key_t key) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_mutex_init (FAR pthread_mutex_t *mutex, FAR const pthread_mutexattr_t *attr) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_mutex_destroy (FAR pthread_mutex_t *mutex) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_mutex_lock (FAR pthread_mutex_t *mutex) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_mutex_trylock (FAR pthread_mutex_t *mutex) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_mutex_unlock (FAR pthread_mutex_t *mutex) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_cond_init (FAR pthread_cond_t *cond, FAR const pthread_condattr_t *attr) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_cond_destroy (FAR pthread_cond_t *cond) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_cond_broadcast (FAR pthread_cond_t *cond) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_cond_signal (FAR pthread_cond_t *cond) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_cond_wait (FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_cond_timedwait (FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex, FAR const struct timespec *abstime) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_barrier_destroy (FAR pthread_barrier_t *barrier) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_barrier_init (FAR pthread_barrier_t *barrier, FAR const pthread_barrierattr_t *attr, unsigned int count) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_barrier_wait (FAR pthread_barrier_t *barrier) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_once (FAR pthread_once_t *once_control, CODE void(*init_routine)(void)) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_kill (pthread_t thread, int sig) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_sigmask (int how, FAR const sigset_t *set, FAR sigset_t *oset) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_attr_init (FAR pthread_attr_t *attr) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_attr_destroy (pthread_attr_t *attr) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_attr_setschedpolicy (FAR pthread_attr_t *attr, int policy) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_attr_getschedpolicy (FAR const pthread_attr_t *attr, int *policy) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_attr_setschedparam (FAR pthread_attr_t *attr, FAR const struct sched_param *param) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_attr_getschedparam (FAR const pthread_attr_t *attr, FAR struct sched_param *param) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_attr_setinheritsched (FAR pthread_attr_t *attr, int inheritsched) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_attr_getinheritsched (FAR const pthread_attr_t *attr, FAR int *inheritsched) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_attr_setstacksize (FAR pthread_attr_t *attr, long stacksize) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_attr_getstacksize (FAR const pthread_attr_t *attr, long *stackaddr) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_mutexattr_init (FAR pthread_mutexattr_t *attr) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_mutexattr_destroy (FAR pthread_mutexattr_t *attr) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_mutexattr_getpshared (FAR const pthread_mutexattr_t *attr, FAR int *pshared) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_mutexattr_setpshared (FAR pthread_mutexattr_t *attr, int pshared) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_mutexattr_gettype (const pthread_mutexattr_t *attr, int *type) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_mutexattr_settype (pthread_mutexattr_t *attr, int type) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_condattr_init (FAR pthread_condattr_t *attr) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_condattr_destroy (FAR pthread_condattr_t *attr) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_barrierattr_destroy (FAR pthread_barrierattr_t *attr) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_barrierattr_init (FAR pthread_barrierattr_t *attr) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_barrierattr_getpshared (FAR const pthread_barrierattr_t *attr, FAR int *pshared) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
int | pthread_barrierattr_setpshared (FAR pthread_barrierattr_t *attr, int pshared) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
|
|
Pthread APIs.
Definition in file pthread.h.