RetroArch
Classes | Macros | Typedefs | Enumerations | Functions
pthread.h File Reference
#include <pte_types.h>
#include <sched.h>
#include <time.h>
#include <setjmp.h>
#include <limits.h>
Include dependency graph for pthread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pte_handle_t
 
struct  pthread_once_t_
 
struct  pte_cleanup_t
 

Macros

#define PTE_VERSION   2,8,0,0
 
#define PTE_VERSION_STRING   "2, 8, 0, 0\0"
 
#define PTE_LEVEL_MAX   3
 
#define PTE_LEVEL   PTE_LEVEL_MAX
 
#define _POSIX_THREADS   200112L
 
#define _POSIX_READER_WRITER_LOCKS   200112L
 
#define _POSIX_SPIN_LOCKS   200112L
 
#define _POSIX_BARRIERS   200112L
 
#define _POSIX_THREAD_SAFE_FUNCTIONS   200112L
 
#define _POSIX_THREAD_ATTR_STACKSIZE   200112L
 
#define _POSIX_THREAD_ATTR_STACKADDR   -1
 
#define _POSIX_THREAD_PRIO_INHERIT   -1
 
#define _POSIX_THREAD_PRIO_PROTECT   -1
 
#define _POSIX_THREAD_PRIORITY_SCHEDULING   -1
 
#define _POSIX_THREAD_PROCESS_SHARED   -1
 
#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS   4
 
#define PTHREAD_DESTRUCTOR_ITERATIONS   _POSIX_THREAD_DESTRUCTOR_ITERATIONS
 
#define _POSIX_THREAD_KEYS_MAX   128
 
#define PTHREAD_KEYS_MAX   _POSIX_THREAD_KEYS_MAX
 
#define PTHREAD_STACK_MIN   0
 
#define _POSIX_THREAD_THREADS_MAX   64
 
#define PTHREAD_THREADS_MAX   2019
 
#define _POSIX_SEM_NSEMS_MAX   256
 
#define SEM_NSEMS_MAX   1024
 
#define _POSIX_SEM_VALUE_MAX   32767
 
#define SEM_VALUE_MAX   INT_MAX
 
#define PTHREAD_CANCELED   ((void *) -1)
 
#define PTHREAD_ONCE_INIT   { PTE_FALSE, 0, 0, 0}
 
#define PTHREAD_MUTEX_INITIALIZER   ((pthread_mutex_t) -1)
 
#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER   ((pthread_mutex_t) -2)
 
#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER   ((pthread_mutex_t) -3)
 
#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP   PTHREAD_RECURSIVE_MUTEX_INITIALIZER
 
#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP   PTHREAD_ERRORCHECK_MUTEX_INITIALIZER
 
#define PTHREAD_COND_INITIALIZER   ((pthread_cond_t) -1)
 
#define PTHREAD_RWLOCK_INITIALIZER   ((pthread_rwlock_t) -1)
 
#define PTHREAD_SPINLOCK_INITIALIZER   ((pthread_spinlock_t) -1)
 
#define pthread_cleanup_push(_rout, _arg)
 
#define pthread_cleanup_pop(_execute)
 
#define _ftime   ftime
 
#define _timeb   timeb
 

Typedefs

typedef voidpthread_t
 
typedef struct pthread_attr_t_pthread_attr_t
 
typedef struct pthread_once_t_ pthread_once_t
 
typedef struct pthread_key_t_pthread_key_t
 
typedef struct pthread_mutex_t_pthread_mutex_t
 
typedef struct pthread_mutexattr_t_pthread_mutexattr_t
 
typedef struct pthread_cond_t_pthread_cond_t
 
typedef struct pthread_condattr_t_pthread_condattr_t
 
typedef struct pthread_rwlock_t_pthread_rwlock_t
 
typedef struct pthread_rwlockattr_t_pthread_rwlockattr_t
 
typedef struct pthread_spinlock_t_pthread_spinlock_t
 
typedef struct pthread_barrier_t_pthread_barrier_t
 
typedef struct pthread_barrierattr_t_pthread_barrierattr_t
 
typedef struct pte_cleanup_t pte_cleanup_t
 
typedef void(* pte_cleanup_callback_t) (void *)
 

Enumerations

enum  { PTE_FALSE = 0, PTE_TRUE = (! PTE_FALSE) }
 
enum  {
  PTHREAD_CREATE_JOINABLE = 0, PTHREAD_CREATE_DETACHED = 1, PTHREAD_INHERIT_SCHED = 0, PTHREAD_EXPLICIT_SCHED = 1,
  PTHREAD_SCOPE_PROCESS = 0, PTHREAD_SCOPE_SYSTEM = 1, PTHREAD_SCOPE_PROCESS_VFPU = 2, PTHREAD_CANCEL_ENABLE = 0,
  PTHREAD_CANCEL_DISABLE = 1, PTHREAD_CANCEL_ASYNCHRONOUS = 0, PTHREAD_CANCEL_DEFERRED = 1, PTHREAD_PROCESS_PRIVATE = 0,
  PTHREAD_PROCESS_SHARED = 1, PTHREAD_BARRIER_SERIAL_THREAD = -1
}
 
enum  {
  PTHREAD_MUTEX_FAST_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_TIMED_NP = PTHREAD_MUTEX_FAST_NP,
  PTHREAD_MUTEX_ADAPTIVE_NP = PTHREAD_MUTEX_FAST_NP, PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_FAST_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
  PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
}
 

Functions

int pthread_init (void)
 
void pthread_terminate (void)
 
int pthread_attr_init (pthread_attr_t *attr)
 
int pthread_attr_destroy (pthread_attr_t *attr)
 
int pthread_attr_getdetachstate (const pthread_attr_t *attr, int *detachstate)
 
int pthread_attr_getstackaddr (const pthread_attr_t *attr, void **stackaddr)
 
int pthread_attr_getstacksize (const pthread_attr_t *attr, size_t *stacksize)
 
int pthread_attr_setdetachstate (pthread_attr_t *attr, int detachstate)
 
int pthread_attr_setstackaddr (pthread_attr_t *attr, void *stackaddr)
 
int pthread_attr_setstacksize (pthread_attr_t *attr, size_t stacksize)
 
int pthread_attr_getschedparam (const pthread_attr_t *attr, struct sched_param *param)
 
int pthread_attr_setschedparam (pthread_attr_t *attr, const struct sched_param *param)
 
int pthread_attr_setschedpolicy (pthread_attr_t *, int)
 
int pthread_attr_getschedpolicy (pthread_attr_t *, int *)
 
int pthread_attr_setinheritsched (pthread_attr_t *attr, int inheritsched)
 
int pthread_attr_getinheritsched (pthread_attr_t *attr, int *inheritsched)
 
int pthread_attr_setscope (pthread_attr_t *, int)
 
int pthread_attr_getscope (const pthread_attr_t *, int *)
 
int pthread_create (pthread_t *tid, const pthread_attr_t *attr, void *(*start)(void *), void *arg)
 
int pthread_detach (pthread_t tid)
 
int pthread_equal (pthread_t t1, pthread_t t2)
 
void pthread_exit (void *value_ptr)
 
int pthread_join (pthread_t thread, void **value_ptr)
 
pthread_t pthread_self (void)
 
int pthread_cancel (pthread_t thread)
 
int pthread_setcancelstate (int state, int *oldstate)
 
int pthread_setcanceltype (int type, int *oldtype)
 
void pthread_testcancel (void)
 
int pthread_once (pthread_once_t *once_control, void(*init_routine)(void))
 
pte_cleanup_tpte_pop_cleanup (int execute)
 
void pte_push_cleanup (pte_cleanup_t *cleanup, void(*routine)(void *), void *arg)
 
int pthread_key_create (pthread_key_t *key, void(*destructor)(void *))
 
int pthread_key_delete (pthread_key_t key)
 
int pthread_setspecific (pthread_key_t key, const void *value)
 
voidpthread_getspecific (pthread_key_t key)
 
int pthread_mutexattr_init (pthread_mutexattr_t *attr)
 
int pthread_mutexattr_destroy (pthread_mutexattr_t *attr)
 
int pthread_mutexattr_getpshared (const pthread_mutexattr_t *attr, int *pshared)
 
int pthread_mutexattr_setpshared (pthread_mutexattr_t *attr, int pshared)
 
int pthread_mutexattr_settype (pthread_mutexattr_t *attr, int kind)
 
int pthread_mutexattr_gettype (pthread_mutexattr_t *attr, int *kind)
 
int pthread_barrierattr_init (pthread_barrierattr_t *attr)
 
int pthread_barrierattr_destroy (pthread_barrierattr_t *attr)
 
int pthread_barrierattr_getpshared (const pthread_barrierattr_t *attr, int *pshared)
 
int pthread_barrierattr_setpshared (pthread_barrierattr_t *attr, int pshared)
 
int pthread_mutex_init (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)
 
int pthread_mutex_destroy (pthread_mutex_t *mutex)
 
int pthread_mutex_lock (pthread_mutex_t *mutex)
 
int pthread_mutex_timedlock (pthread_mutex_t *mutex, const struct timespec *abstime)
 
int pthread_mutex_trylock (pthread_mutex_t *mutex)
 
int pthread_mutex_unlock (pthread_mutex_t *mutex)
 
int pthread_spin_init (pthread_spinlock_t *lock, int pshared)
 
int pthread_spin_destroy (pthread_spinlock_t *lock)
 
int pthread_spin_lock (pthread_spinlock_t *lock)
 
int pthread_spin_trylock (pthread_spinlock_t *lock)
 
int pthread_spin_unlock (pthread_spinlock_t *lock)
 
int pthread_barrier_init (pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count)
 
int pthread_barrier_destroy (pthread_barrier_t *barrier)
 
int pthread_barrier_wait (pthread_barrier_t *barrier)
 
int pthread_condattr_init (pthread_condattr_t *attr)
 
int pthread_condattr_destroy (pthread_condattr_t *attr)
 
int pthread_condattr_getpshared (const pthread_condattr_t *attr, int *pshared)
 
int pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared)
 
int pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *attr)
 
int pthread_cond_destroy (pthread_cond_t *cond)
 
int pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex)
 
int pthread_cond_timedwait (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime)
 
int pthread_cond_signal (pthread_cond_t *cond)
 
int pthread_cond_broadcast (pthread_cond_t *cond)
 
int pthread_setschedparam (pthread_t thread, int policy, const struct sched_param *param)
 
int pthread_getschedparam (pthread_t thread, int *policy, struct sched_param *param)
 
int pthread_setconcurrency (int)
 
int pthread_getconcurrency (void)
 
int pthread_rwlock_init (pthread_rwlock_t *lock, const pthread_rwlockattr_t *attr)
 
int pthread_rwlock_destroy (pthread_rwlock_t *lock)
 
int pthread_rwlock_tryrdlock (pthread_rwlock_t *)
 
int pthread_rwlock_trywrlock (pthread_rwlock_t *)
 
int pthread_rwlock_rdlock (pthread_rwlock_t *lock)
 
int pthread_rwlock_timedrdlock (pthread_rwlock_t *lock, const struct timespec *abstime)
 
int pthread_rwlock_wrlock (pthread_rwlock_t *lock)
 
int pthread_rwlock_timedwrlock (pthread_rwlock_t *lock, const struct timespec *abstime)
 
int pthread_rwlock_unlock (pthread_rwlock_t *lock)
 
int pthread_rwlockattr_init (pthread_rwlockattr_t *attr)
 
int pthread_rwlockattr_destroy (pthread_rwlockattr_t *attr)
 
int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t *attr, int *pshared)
 
int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *attr, int pshared)
 
int pthread_kill (pthread_t thread, int sig)
 
int pthread_mutexattr_setkind_np (pthread_mutexattr_t *attr, int kind)
 
int pthread_mutexattr_getkind_np (pthread_mutexattr_t *attr, int *kind)
 
int pthread_delay_np (struct timespec *interval)
 
int pthread_num_processors_np (void)
 
voidpthread_timechange_handler_np (void *)
 

Macro Definition Documentation

◆ _ftime

#define _ftime   ftime

◆ _POSIX_BARRIERS

#define _POSIX_BARRIERS   200112L

◆ _POSIX_READER_WRITER_LOCKS

#define _POSIX_READER_WRITER_LOCKS   200112L

◆ _POSIX_SEM_NSEMS_MAX

#define _POSIX_SEM_NSEMS_MAX   256

◆ _POSIX_SEM_VALUE_MAX

#define _POSIX_SEM_VALUE_MAX   32767

◆ _POSIX_SPIN_LOCKS

#define _POSIX_SPIN_LOCKS   200112L

◆ _POSIX_THREAD_ATTR_STACKADDR

#define _POSIX_THREAD_ATTR_STACKADDR   -1

◆ _POSIX_THREAD_ATTR_STACKSIZE

#define _POSIX_THREAD_ATTR_STACKSIZE   200112L

◆ _POSIX_THREAD_DESTRUCTOR_ITERATIONS

#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS   4

◆ _POSIX_THREAD_KEYS_MAX

#define _POSIX_THREAD_KEYS_MAX   128

◆ _POSIX_THREAD_PRIO_INHERIT

#define _POSIX_THREAD_PRIO_INHERIT   -1

◆ _POSIX_THREAD_PRIO_PROTECT

#define _POSIX_THREAD_PRIO_PROTECT   -1

◆ _POSIX_THREAD_PRIORITY_SCHEDULING

#define _POSIX_THREAD_PRIORITY_SCHEDULING   -1

◆ _POSIX_THREAD_PROCESS_SHARED

#define _POSIX_THREAD_PROCESS_SHARED   -1

◆ _POSIX_THREAD_SAFE_FUNCTIONS

#define _POSIX_THREAD_SAFE_FUNCTIONS   200112L

◆ _POSIX_THREAD_THREADS_MAX

#define _POSIX_THREAD_THREADS_MAX   64

◆ _POSIX_THREADS

#define _POSIX_THREADS   200112L

◆ _timeb

#define _timeb   timeb

◆ PTE_LEVEL

#define PTE_LEVEL   PTE_LEVEL_MAX

◆ PTE_LEVEL_MAX

#define PTE_LEVEL_MAX   3

◆ PTE_VERSION

#define PTE_VERSION   2,8,0,0

◆ PTE_VERSION_STRING

#define PTE_VERSION_STRING   "2, 8, 0, 0\0"

◆ PTHREAD_CANCELED

#define PTHREAD_CANCELED   ((void *) -1)

◆ pthread_cleanup_pop

#define pthread_cleanup_pop (   _execute)
Value:
(void) pte_pop_cleanup( _execute ); \
}
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
pte_cleanup_t * pte_pop_cleanup(int execute)
Definition: pte_main.c:299

◆ pthread_cleanup_push

#define pthread_cleanup_push (   _rout,
  _arg 
)
Value:
{ \
pte_cleanup_t _cleanup; \
pte_push_cleanup( &_cleanup, (pte_cleanup_callback_t) (_rout), (_arg) ); \
void(* pte_cleanup_callback_t)(void *)
Definition: pthread.h:541
void pte_push_cleanup(pte_cleanup_t *cleanup, void(*routine)(void *), void *arg)
Definition: pte_main.c:348

◆ PTHREAD_COND_INITIALIZER

#define PTHREAD_COND_INITIALIZER   ((pthread_cond_t) -1)

◆ PTHREAD_DESTRUCTOR_ITERATIONS

#define PTHREAD_DESTRUCTOR_ITERATIONS   _POSIX_THREAD_DESTRUCTOR_ITERATIONS

◆ PTHREAD_ERRORCHECK_MUTEX_INITIALIZER

#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER   ((pthread_mutex_t) -3)

◆ PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP

#define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP   PTHREAD_ERRORCHECK_MUTEX_INITIALIZER

◆ PTHREAD_KEYS_MAX

#define PTHREAD_KEYS_MAX   _POSIX_THREAD_KEYS_MAX

◆ PTHREAD_MUTEX_INITIALIZER

#define PTHREAD_MUTEX_INITIALIZER   ((pthread_mutex_t) -1)

◆ PTHREAD_ONCE_INIT

#define PTHREAD_ONCE_INIT   { PTE_FALSE, 0, 0, 0}

◆ PTHREAD_RECURSIVE_MUTEX_INITIALIZER

#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER   ((pthread_mutex_t) -2)

◆ PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP

#define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP   PTHREAD_RECURSIVE_MUTEX_INITIALIZER

◆ PTHREAD_RWLOCK_INITIALIZER

#define PTHREAD_RWLOCK_INITIALIZER   ((pthread_rwlock_t) -1)

◆ PTHREAD_SPINLOCK_INITIALIZER

#define PTHREAD_SPINLOCK_INITIALIZER   ((pthread_spinlock_t) -1)

◆ PTHREAD_STACK_MIN

#define PTHREAD_STACK_MIN   0

◆ PTHREAD_THREADS_MAX

#define PTHREAD_THREADS_MAX   2019

◆ SEM_NSEMS_MAX

#define SEM_NSEMS_MAX   1024

◆ SEM_VALUE_MAX

#define SEM_VALUE_MAX   INT_MAX

Typedef Documentation

◆ pte_cleanup_callback_t

typedef void(* pte_cleanup_callback_t) (void *)

◆ pte_cleanup_t

typedef struct pte_cleanup_t pte_cleanup_t

◆ pthread_attr_t

◆ pthread_barrier_t

◆ pthread_barrierattr_t

◆ pthread_cond_t

◆ pthread_condattr_t

◆ pthread_key_t

typedef struct pthread_key_t_* pthread_key_t

◆ pthread_mutex_t

◆ pthread_mutexattr_t

◆ pthread_once_t

◆ pthread_rwlock_t

◆ pthread_rwlockattr_t

◆ pthread_spinlock_t

◆ pthread_t

typedef void* pthread_t

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
PTE_FALSE 
PTE_TRUE 

◆ anonymous enum

anonymous enum
Enumerator
PTHREAD_CREATE_JOINABLE 
PTHREAD_CREATE_DETACHED 
PTHREAD_INHERIT_SCHED 
PTHREAD_EXPLICIT_SCHED 
PTHREAD_SCOPE_PROCESS 
PTHREAD_SCOPE_SYSTEM 
PTHREAD_SCOPE_PROCESS_VFPU 
PTHREAD_CANCEL_ENABLE 
PTHREAD_CANCEL_DISABLE 
PTHREAD_CANCEL_ASYNCHRONOUS 
PTHREAD_CANCEL_DEFERRED 
PTHREAD_PROCESS_PRIVATE 
PTHREAD_PROCESS_SHARED 
PTHREAD_BARRIER_SERIAL_THREAD 

◆ anonymous enum

anonymous enum
Enumerator
PTHREAD_MUTEX_FAST_NP 
PTHREAD_MUTEX_RECURSIVE_NP 
PTHREAD_MUTEX_ERRORCHECK_NP 
PTHREAD_MUTEX_TIMED_NP 
PTHREAD_MUTEX_ADAPTIVE_NP 
PTHREAD_MUTEX_NORMAL 
PTHREAD_MUTEX_RECURSIVE 
PTHREAD_MUTEX_ERRORCHECK 
PTHREAD_MUTEX_DEFAULT 

Function Documentation

◆ pte_pop_cleanup()

pte_cleanup_t* pte_pop_cleanup ( int  execute)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_push_cleanup()

void pte_push_cleanup ( pte_cleanup_t cleanup,
void(*)(void *)  routine,
void arg 
)
Here is the call graph for this function:

◆ pthread_attr_destroy()

int pthread_attr_destroy ( pthread_attr_t attr)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_attr_getdetachstate()

int pthread_attr_getdetachstate ( const pthread_attr_t attr,
int *  detachstate 
)
Here is the call graph for this function:

◆ pthread_attr_getinheritsched()

int pthread_attr_getinheritsched ( pthread_attr_t attr,
int *  inheritsched 
)
Here is the call graph for this function:

◆ pthread_attr_getschedparam()

int pthread_attr_getschedparam ( const pthread_attr_t attr,
struct sched_param param 
)
Here is the call graph for this function:

◆ pthread_attr_getschedpolicy()

int pthread_attr_getschedpolicy ( pthread_attr_t ,
int *   
)
Here is the call graph for this function:

◆ pthread_attr_getscope()

int pthread_attr_getscope ( const pthread_attr_t ,
int *   
)

◆ pthread_attr_getstackaddr()

int pthread_attr_getstackaddr ( const pthread_attr_t attr,
void **  stackaddr 
)
Here is the call graph for this function:

◆ pthread_attr_getstacksize()

int pthread_attr_getstacksize ( const pthread_attr_t attr,
size_t *  stacksize 
)
Here is the call graph for this function:

◆ pthread_attr_init()

int pthread_attr_init ( pthread_attr_t attr)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_attr_setdetachstate()

int pthread_attr_setdetachstate ( pthread_attr_t attr,
int  detachstate 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_attr_setinheritsched()

int pthread_attr_setinheritsched ( pthread_attr_t attr,
int  inheritsched 
)
Here is the call graph for this function:

◆ pthread_attr_setschedparam()

int pthread_attr_setschedparam ( pthread_attr_t attr,
const struct sched_param param 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_attr_setschedpolicy()

int pthread_attr_setschedpolicy ( pthread_attr_t ,
int   
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_attr_setscope()

int pthread_attr_setscope ( pthread_attr_t ,
int   
)

◆ pthread_attr_setstackaddr()

int pthread_attr_setstackaddr ( pthread_attr_t attr,
void stackaddr 
)
Here is the call graph for this function:

◆ pthread_attr_setstacksize()

int pthread_attr_setstacksize ( pthread_attr_t attr,
size_t  stacksize 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_barrier_destroy()

int pthread_barrier_destroy ( pthread_barrier_t barrier)
Here is the call graph for this function:

◆ pthread_barrier_init()

int pthread_barrier_init ( pthread_barrier_t barrier,
const pthread_barrierattr_t attr,
unsigned int  count 
)
Here is the call graph for this function:

◆ pthread_barrier_wait()

int pthread_barrier_wait ( pthread_barrier_t barrier)
Here is the call graph for this function:

◆ pthread_barrierattr_destroy()

int pthread_barrierattr_destroy ( pthread_barrierattr_t attr)
Here is the call graph for this function:

◆ pthread_barrierattr_getpshared()

int pthread_barrierattr_getpshared ( const pthread_barrierattr_t attr,
int *  pshared 
)

◆ pthread_barrierattr_init()

int pthread_barrierattr_init ( pthread_barrierattr_t attr)

◆ pthread_barrierattr_setpshared()

int pthread_barrierattr_setpshared ( pthread_barrierattr_t attr,
int  pshared 
)

◆ pthread_cancel()

int pthread_cancel ( pthread_t  thread)
Here is the call graph for this function:

◆ pthread_cond_broadcast()

int pthread_cond_broadcast ( pthread_cond_t cond)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_cond_destroy()

int pthread_cond_destroy ( pthread_cond_t cond)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_cond_init()

int pthread_cond_init ( pthread_cond_t cond,
const pthread_condattr_t attr 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_cond_signal()

int pthread_cond_signal ( pthread_cond_t cond)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_cond_timedwait()

int pthread_cond_timedwait ( pthread_cond_t cond,
pthread_mutex_t mutex,
const struct timespec *  abstime 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_cond_wait()

int pthread_cond_wait ( pthread_cond_t cond,
pthread_mutex_t mutex 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_condattr_destroy()

int pthread_condattr_destroy ( pthread_condattr_t attr)
Here is the call graph for this function:

◆ pthread_condattr_getpshared()

int pthread_condattr_getpshared ( const pthread_condattr_t attr,
int *  pshared 
)

◆ pthread_condattr_init()

int pthread_condattr_init ( pthread_condattr_t attr)

◆ pthread_condattr_setpshared()

int pthread_condattr_setpshared ( pthread_condattr_t attr,
int  pshared 
)

◆ pthread_create()

int pthread_create ( pthread_t tid,
const pthread_attr_t attr,
void *(*)(void *)  start,
void arg 
)

◆ pthread_delay_np()

int pthread_delay_np ( struct timespec *  interval)
Here is the call graph for this function:

◆ pthread_detach()

int pthread_detach ( pthread_t  tid)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_equal()

int pthread_equal ( pthread_t  t1,
pthread_t  t2 
)

◆ pthread_exit()

void pthread_exit ( void value_ptr)

◆ pthread_getconcurrency()

int pthread_getconcurrency ( void  )

◆ pthread_getschedparam()

int pthread_getschedparam ( pthread_t  thread,
int *  policy,
struct sched_param param 
)
Here is the call graph for this function:

◆ pthread_getspecific()

void* pthread_getspecific ( pthread_key_t  key)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_init()

int pthread_init ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_join()

int pthread_join ( pthread_t  thread,
void **  value_ptr 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_key_create()

int pthread_key_create ( pthread_key_t key,
void(*)(void *)  destructor 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_key_delete()

int pthread_key_delete ( pthread_key_t  key)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_kill()

int pthread_kill ( pthread_t  thread,
int  sig 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_mutex_destroy()

int pthread_mutex_destroy ( pthread_mutex_t mutex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_mutex_init()

int pthread_mutex_init ( pthread_mutex_t mutex,
const pthread_mutexattr_t attr 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_mutex_lock()

int pthread_mutex_lock ( pthread_mutex_t mutex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_mutex_timedlock()

int pthread_mutex_timedlock ( pthread_mutex_t mutex,
const struct timespec *  abstime 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_mutex_trylock()

int pthread_mutex_trylock ( pthread_mutex_t mutex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_mutex_unlock()

int pthread_mutex_unlock ( pthread_mutex_t mutex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_mutexattr_destroy()

int pthread_mutexattr_destroy ( pthread_mutexattr_t attr)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_mutexattr_getkind_np()

int pthread_mutexattr_getkind_np ( pthread_mutexattr_t attr,
int *  kind 
)
Here is the call graph for this function:

◆ pthread_mutexattr_getpshared()

int pthread_mutexattr_getpshared ( const pthread_mutexattr_t attr,
int *  pshared 
)

◆ pthread_mutexattr_gettype()

int pthread_mutexattr_gettype ( pthread_mutexattr_t attr,
int *  kind 
)
Here is the caller graph for this function:

◆ pthread_mutexattr_init()

int pthread_mutexattr_init ( pthread_mutexattr_t attr)
Here is the caller graph for this function:

◆ pthread_mutexattr_setkind_np()

int pthread_mutexattr_setkind_np ( pthread_mutexattr_t attr,
int  kind 
)
Here is the call graph for this function:

◆ pthread_mutexattr_setpshared()

int pthread_mutexattr_setpshared ( pthread_mutexattr_t attr,
int  pshared 
)

◆ pthread_mutexattr_settype()

int pthread_mutexattr_settype ( pthread_mutexattr_t attr,
int  kind 
)
Here is the caller graph for this function:

◆ pthread_num_processors_np()

int pthread_num_processors_np ( void  )
Here is the call graph for this function:

◆ pthread_once()

int pthread_once ( pthread_once_t once_control,
void(*)(void init_routine 
)
Here is the call graph for this function:

◆ pthread_rwlock_destroy()

int pthread_rwlock_destroy ( pthread_rwlock_t lock)
Here is the call graph for this function:

◆ pthread_rwlock_init()

int pthread_rwlock_init ( pthread_rwlock_t lock,
const pthread_rwlockattr_t attr 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_rwlock_rdlock()

int pthread_rwlock_rdlock ( pthread_rwlock_t lock)
Here is the call graph for this function:

◆ pthread_rwlock_timedrdlock()

int pthread_rwlock_timedrdlock ( pthread_rwlock_t lock,
const struct timespec *  abstime 
)
Here is the call graph for this function:

◆ pthread_rwlock_timedwrlock()

int pthread_rwlock_timedwrlock ( pthread_rwlock_t lock,
const struct timespec *  abstime 
)
Here is the call graph for this function:

◆ pthread_rwlock_tryrdlock()

int pthread_rwlock_tryrdlock ( pthread_rwlock_t )
Here is the call graph for this function:

◆ pthread_rwlock_trywrlock()

int pthread_rwlock_trywrlock ( pthread_rwlock_t )
Here is the call graph for this function:

◆ pthread_rwlock_unlock()

int pthread_rwlock_unlock ( pthread_rwlock_t lock)
Here is the call graph for this function:

◆ pthread_rwlock_wrlock()

int pthread_rwlock_wrlock ( pthread_rwlock_t lock)
Here is the call graph for this function:

◆ pthread_rwlockattr_destroy()

int pthread_rwlockattr_destroy ( pthread_rwlockattr_t attr)
Here is the call graph for this function:

◆ pthread_rwlockattr_getpshared()

int pthread_rwlockattr_getpshared ( const pthread_rwlockattr_t attr,
int *  pshared 
)

◆ pthread_rwlockattr_init()

int pthread_rwlockattr_init ( pthread_rwlockattr_t attr)

◆ pthread_rwlockattr_setpshared()

int pthread_rwlockattr_setpshared ( pthread_rwlockattr_t attr,
int  pshared 
)

◆ pthread_self()

pthread_t pthread_self ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_setcancelstate()

int pthread_setcancelstate ( int  state,
int *  oldstate 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_setcanceltype()

int pthread_setcanceltype ( int  type,
int *  oldtype 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_setconcurrency()

int pthread_setconcurrency ( int  )

◆ pthread_setschedparam()

int pthread_setschedparam ( pthread_t  thread,
int  policy,
const struct sched_param param 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_setspecific()

int pthread_setspecific ( pthread_key_t  key,
const void value 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_spin_destroy()

int pthread_spin_destroy ( pthread_spinlock_t lock)
Here is the call graph for this function:

◆ pthread_spin_init()

int pthread_spin_init ( pthread_spinlock_t lock,
int  pshared 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_spin_lock()

int pthread_spin_lock ( pthread_spinlock_t lock)
Here is the call graph for this function:

◆ pthread_spin_trylock()

int pthread_spin_trylock ( pthread_spinlock_t lock)
Here is the call graph for this function:

◆ pthread_spin_unlock()

int pthread_spin_unlock ( pthread_spinlock_t lock)
Here is the call graph for this function:

◆ pthread_terminate()

void pthread_terminate ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_testcancel()

void pthread_testcancel ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pthread_timechange_handler_np()

void* pthread_timechange_handler_np ( void )
Here is the call graph for this function: