Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

pthread.h File Reference

#include <time.h>
#include <setjmp.h>
#include <limits.h>
#include <errno.h>
#include <sched.h>

Go to the source code of this file.

Defines

#define PTHREAD_H
#define PTW32_LEVEL_MAX   3
#define PTW32_LEVEL   PTW32_LEVEL_MAX
#define ENOTSUP   48
#define ETIMEDOUT   10060
#define PTW32__HANDLE_DEF
#define HANDLE   void *
#define PTW32__DWORD_DEF
#define DWORD   unsigned long
#define SIG_BLOCK   0
#define SIG_UNBLOCK   1
#define SIG_SETMASK   2
#define _POSIX_THREAD_SAFE_FUNCTIONS
#define _POSIX_THREAD_ATTR_STACKSIZE
#define _POSIX_THREAD_PRIORITY_SCHEDULING
#define PTHREAD_DESTRUCTOR_ITERATIONS   4
#define PTHREAD_KEYS_MAX   64
#define PTHREAD_STACK_MIN   0
#define PTHREAD_THREADS_MAX   2019
#define _POSIX_SEM_NSEMS_MAX   1024
#define _POSIX_SEM_VALUE_MAX   (INT_MAX/2)
#define PTHREAD_CANCELED   ((void *) -1)
#define PTHREAD_ONCE_INIT   { PTW32_FALSE, -1 }
#define PTHREAD_MUTEX_INITIALIZER   ((pthread_mutex_t) -1)
#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 __CLEANUP_C
#define pthread_cleanup_push(_rout, _arg)
#define pthread_cleanup_pop(_execute)
#define strtok_r(_s, _sep, _lasts)   ( *(_lasts) = strtok( (_s), (_sep) ) )
#define asctime_r(_tm, _buf)
#define ctime_r(_clock, _buf)
#define gmtime_r(_clock, _result)
#define localtime_r(_clock, _result)
#define rand_r(_seed)   ( _seed == _seed? rand() : rand() )

Typedefs

typedef pthread_t_ * pthread_t
typedef pthread_attr_t_ * pthread_attr_t
typedef pthread_once_t_ pthread_once_t
typedef pthread_key_t_ * pthread_key_t
typedef pthread_mutex_t_ * pthread_mutex_t
typedef pthread_mutexattr_t_ * pthread_mutexattr_t
typedef pthread_cond_t_ * pthread_cond_t
typedef pthread_condattr_t_ * pthread_condattr_t
typedef pthread_rwlock_t_ * pthread_rwlock_t
typedef pthread_rwlockattr_t_ * pthread_rwlockattr_t
typedef pthread_spinlock_t_ * pthread_spinlock_t
typedef pthread_barrier_t_ * pthread_barrier_t
typedef pthread_barrierattr_t_ * pthread_barrierattr_t
typedef ptw32_cleanup_t ptw32_cleanup_t
typedef void(__cdecl * ptw32_cleanup_callback_t )(void *)

Enumerations

enum  { PTW32_FALSE = 0, PTW32_TRUE = (! PTW32_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_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

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


Define Documentation

#define __CLEANUP_C
 

Definition at line 663 of file pthread.h.

#define _POSIX_SEM_NSEMS_MAX   1024
 

Definition at line 476 of file pthread.h.

#define _POSIX_SEM_VALUE_MAX   (INT_MAX/2)
 

Definition at line 479 of file pthread.h.

#define _POSIX_THREAD_ATTR_STACKSIZE
 

Definition at line 427 of file pthread.h.

#define _POSIX_THREAD_PRIORITY_SCHEDULING
 

Definition at line 428 of file pthread.h.

#define _POSIX_THREAD_SAFE_FUNCTIONS
 

Definition at line 426 of file pthread.h.

#define asctime_r (  _tm,
_buf   ) 
 

Value:

( strcpy( (_buf), asctime( (_tm) ) ), \
          (_buf) )

Definition at line 1182 of file pthread.h.

#define ctime_r (  _clock,
_buf   ) 
 

Value:

( strcpy( (_buf), ctime( (_clock) ) ),  \
          (_buf) )

Definition at line 1186 of file pthread.h.

#define DWORD   unsigned long
 

Definition at line 264 of file pthread.h.

#define ENOTSUP   48
 

Definition at line 243 of file pthread.h.

#define ETIMEDOUT   10060
 

Definition at line 247 of file pthread.h.

#define gmtime_r (  _clock,
_result   ) 
 

Value:

( *(_result) = *gmtime( (_clock) ), \
          (_result) )

Definition at line 1190 of file pthread.h.

#define HANDLE   void *
 

Definition at line 260 of file pthread.h.

Referenced by call_pipe(), and vsyslog().

#define localtime_r (  _clock,
_result   ) 
 

Value:

( *(_result) = *localtime( (_clock) ), \
          (_result) )

Definition at line 1194 of file pthread.h.

#define PTHREAD_CANCELED   ((void *) -1)
 

Definition at line 577 of file pthread.h.

#define pthread_cleanup_pop (  _execute   ) 
 

Value:

(void) ptw32_pop_cleanup( _execute ); \
        }

Definition at line 719 of file pthread.h.

#define pthread_cleanup_push (  _rout,
_arg   ) 
 

Value:

{ \
            ptw32_cleanup_t     _cleanup; \
            \
            ptw32_push_cleanup( &_cleanup, (ptw32_cleanup_callback_t) (_rout), (_arg) ); \

Definition at line 713 of file pthread.h.

#define PTHREAD_COND_INITIALIZER   ((pthread_cond_t) -1)
 

Definition at line 606 of file pthread.h.

#define PTHREAD_DESTRUCTOR_ITERATIONS   4
 

Definition at line 470 of file pthread.h.

#define PTHREAD_H
 

Definition at line 34 of file pthread.h.

#define PTHREAD_KEYS_MAX   64
 

Definition at line 471 of file pthread.h.

#define PTHREAD_MUTEX_INITIALIZER   ((pthread_mutex_t) -1)
 

Definition at line 604 of file pthread.h.

#define PTHREAD_ONCE_INIT   { PTW32_FALSE, -1 }
 

Definition at line 587 of file pthread.h.

#define PTHREAD_RWLOCK_INITIALIZER   ((pthread_rwlock_t) -1)
 

Definition at line 608 of file pthread.h.

#define PTHREAD_SPINLOCK_INITIALIZER   ((pthread_spinlock_t) -1)
 

Definition at line 610 of file pthread.h.

#define PTHREAD_STACK_MIN   0
 

Definition at line 472 of file pthread.h.

#define PTHREAD_THREADS_MAX   2019
 

Definition at line 473 of file pthread.h.

#define PTW32__DWORD_DEF
 

Definition at line 263 of file pthread.h.

#define PTW32__HANDLE_DEF
 

Definition at line 259 of file pthread.h.

#define PTW32_LEVEL   PTW32_LEVEL_MAX
 

Definition at line 58 of file pthread.h.

#define PTW32_LEVEL_MAX   3
 

Definition at line 55 of file pthread.h.

#define rand_r (  _seed   )     ( _seed == _seed? rand() : rand() )
 

Definition at line 1198 of file pthread.h.

#define SIG_BLOCK   0
 

Definition at line 278 of file pthread.h.

#define SIG_SETMASK   2
 

Definition at line 286 of file pthread.h.

Referenced by SigUsrHandler(), and SnortMain().

#define SIG_UNBLOCK   1
 

Definition at line 282 of file pthread.h.

#define strtok_r (  _s,
_sep,
_lasts   )     ( *(_lasts) = strtok( (_s), (_sep) ) )
 

Definition at line 1178 of file pthread.h.


Typedef Documentation

typedef struct pthread_attr_t_* pthread_attr_t
 

Definition at line 504 of file pthread.h.

typedef struct pthread_barrier_t_* pthread_barrier_t
 

Definition at line 515 of file pthread.h.

typedef struct pthread_barrierattr_t_* pthread_barrierattr_t
 

Definition at line 516 of file pthread.h.

typedef struct pthread_cond_t_* pthread_cond_t
 

Definition at line 509 of file pthread.h.

typedef struct pthread_condattr_t_* pthread_condattr_t
 

Definition at line 510 of file pthread.h.

typedef struct pthread_key_t_* pthread_key_t
 

Definition at line 506 of file pthread.h.

typedef struct pthread_mutex_t_* pthread_mutex_t
 

Definition at line 507 of file pthread.h.

typedef struct pthread_mutexattr_t_* pthread_mutexattr_t
 

Definition at line 508 of file pthread.h.

typedef struct pthread_once_t_ pthread_once_t
 

Definition at line 505 of file pthread.h.

typedef struct pthread_rwlock_t_* pthread_rwlock_t
 

Definition at line 512 of file pthread.h.

typedef struct pthread_rwlockattr_t_* pthread_rwlockattr_t
 

Definition at line 513 of file pthread.h.

typedef struct pthread_spinlock_t_* pthread_spinlock_t
 

Definition at line 514 of file pthread.h.

typedef struct pthread_t_* pthread_t
 

Definition at line 503 of file pthread.h.

typedef void(__cdecl * ptw32_cleanup_callback_t)(void *)
 

Definition at line 671 of file pthread.h.

typedef struct ptw32_cleanup_t ptw32_cleanup_t
 

Definition at line 670 of file pthread.h.


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
PTW32_FALSE 
PTW32_TRUE 

Definition at line 206 of file pthread.h.

anonymous enum
 

Enumeration values:
PTHREAD_CREATE_JOINABLE 
PTHREAD_CREATE_DETACHED 
PTHREAD_INHERIT_SCHED 
PTHREAD_EXPLICIT_SCHED 
PTHREAD_SCOPE_PROCESS 
PTHREAD_SCOPE_SYSTEM 
PTHREAD_CANCEL_ENABLE 
PTHREAD_CANCEL_DISABLE 
PTHREAD_CANCEL_ASYNCHRONOUS 
PTHREAD_CANCEL_DEFERRED 
PTHREAD_PROCESS_PRIVATE 
PTHREAD_PROCESS_SHARED 
PTHREAD_BARRIER_SERIAL_THREAD 

Definition at line 526 of file pthread.h.

anonymous enum
 

Enumeration values:
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 

Definition at line 616 of file pthread.h.


Function Documentation

PTW32_DLLPORT int pthread_attr_destroy (  pthread_attr_t *  attr  ) 
 

PTW32_DLLPORT int pthread_attr_getdetachstate (  const pthread_attr_t *  attr,
int *  detachstate
) 
 

PTW32_DLLPORT int pthread_attr_getinheritsched (  pthread_attr_t *  attr,
int *  inheritsched
) 
 

PTW32_DLLPORT int pthread_attr_getschedparam (  const pthread_attr_t *  attr,
struct sched_param *  param
) 
 

PTW32_DLLPORT int pthread_attr_getschedpolicy (  pthread_attr_t *  ,
int * 
) 
 

PTW32_DLLPORT int pthread_attr_getscope (  const pthread_attr_t *  ,
int * 
) 
 

PTW32_DLLPORT int pthread_attr_getstackaddr (  const pthread_attr_t *  attr,
void **  stackaddr
) 
 

PTW32_DLLPORT int pthread_attr_getstacksize (  const pthread_attr_t *  attr,
size_t *  stacksize
) 
 

PTW32_DLLPORT int pthread_attr_init (  pthread_attr_t *  attr  ) 
 

PTW32_DLLPORT int pthread_attr_setdetachstate (  pthread_attr_t *  attr,
int  detachstate
) 
 

PTW32_DLLPORT int pthread_attr_setinheritsched (  pthread_attr_t *  attr,
int  inheritsched
) 
 

PTW32_DLLPORT int pthread_attr_setschedparam (  pthread_attr_t *  attr,
const struct sched_param *  param
) 
 

PTW32_DLLPORT int pthread_attr_setschedpolicy (  pthread_attr_t *  ,
int 
) 
 

PTW32_DLLPORT int pthread_attr_setscope (  pthread_attr_t *  ,
int 
) 
 

PTW32_DLLPORT int pthread_attr_setstackaddr (  pthread_attr_t *  attr,
void *  stackaddr
) 
 

PTW32_DLLPORT int pthread_attr_setstacksize (  pthread_attr_t *  attr,
size_t  stacksize
) 
 

PTW32_DLLPORT int pthread_barrier_destroy (  pthread_barrier_t *  barrier  ) 
 

PTW32_DLLPORT int pthread_barrier_init (  pthread_barrier_t *  barrier,
const pthread_barrierattr_t *  attr,
unsigned int  count
) 
 

PTW32_DLLPORT int pthread_barrier_wait (  pthread_barrier_t *  barrier  ) 
 

PTW32_DLLPORT int pthread_barrierattr_destroy (  pthread_barrierattr_t *  attr  ) 
 

PTW32_DLLPORT int pthread_barrierattr_getpshared (  const pthread_barrierattr_t *  attr,
int *  pshared
) 
 

PTW32_DLLPORT int pthread_barrierattr_init (  pthread_barrierattr_t *  attr  ) 
 

PTW32_DLLPORT int pthread_barrierattr_setpshared (  pthread_barrierattr_t *  attr,
int  pshared
) 
 

PTW32_DLLPORT int pthread_cancel (  pthread_t  thread  ) 
 

PTW32_DLLPORT int pthread_cond_broadcast (  pthread_cond_t *  cond  ) 
 

PTW32_DLLPORT int pthread_cond_destroy (  pthread_cond_t *  cond  ) 
 

PTW32_DLLPORT int pthread_cond_init (  pthread_cond_t *  cond,
const pthread_condattr_t *  attr
) 
 

PTW32_DLLPORT int pthread_cond_signal (  pthread_cond_t *  cond  ) 
 

PTW32_DLLPORT int pthread_cond_timedwait (  pthread_cond_t *  cond,
pthread_mutex_t *  mutex,
const struct timespec *  abstime
) 
 

PTW32_DLLPORT int pthread_cond_wait (  pthread_cond_t *  cond,
pthread_mutex_t *  mutex
) 
 

PTW32_DLLPORT int pthread_condattr_destroy (  pthread_condattr_t *  attr  ) 
 

PTW32_DLLPORT int pthread_condattr_getpshared (  const pthread_condattr_t *  attr,
int *  pshared
) 
 

PTW32_DLLPORT int pthread_condattr_init (  pthread_condattr_t *  attr  ) 
 

PTW32_DLLPORT int pthread_condattr_setpshared (  pthread_condattr_t *  attr,
int  pshared
) 
 

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

PTW32_DLLPORT int pthread_delay_np (  struct timespec *  interval  ) 
 

PTW32_DLLPORT int pthread_detach (  pthread_t  tid  ) 
 

PTW32_DLLPORT int pthread_equal (  pthread_t  t1,
pthread_t  t2
) 
 

PTW32_DLLPORT void pthread_exit (  void *  value_ptr  ) 
 

PTW32_DLLPORT int pthread_getconcurrency (  void   ) 
 

PTW32_DLLPORT int pthread_getschedparam (  pthread_t  thread,
int *  policy,
struct sched_param *  param
) 
 

PTW32_DLLPORT void* pthread_getspecific (  pthread_key_t  key  ) 
 

PTW32_DLLPORT HANDLE pthread_getw32threadhandle_np (  pthread_t  thread  ) 
 

PTW32_DLLPORT int pthread_join (  pthread_t  thread,
void **  value_ptr
) 
 

PTW32_DLLPORT int pthread_key_create (  pthread_key_t *  key,
void(*)(void *)  destructor
) 
 

PTW32_DLLPORT int pthread_key_delete (  pthread_key_t  key  ) 
 

PTW32_DLLPORT int pthread_kill (  pthread_t  thread,
int  sig
) 
 

PTW32_DLLPORT int pthread_mutex_destroy (  pthread_mutex_t *  mutex  ) 
 

PTW32_DLLPORT int pthread_mutex_init (  pthread_mutex_t *  mutex,
const pthread_mutexattr_t *  attr
) 
 

PTW32_DLLPORT int pthread_mutex_lock (  pthread_mutex_t *  mutex  ) 
 

PTW32_DLLPORT int pthread_mutex_timedlock (  pthread_mutex_t *  mutex,
const struct timespec *  abstime
) 
 

PTW32_DLLPORT int pthread_mutex_trylock (  pthread_mutex_t *  mutex  ) 
 

PTW32_DLLPORT int pthread_mutex_unlock (  pthread_mutex_t *  mutex  ) 
 

PTW32_DLLPORT int pthread_mutexattr_destroy (  pthread_mutexattr_t *  attr  ) 
 

PTW32_DLLPORT int pthread_mutexattr_getkind_np (  pthread_mutexattr_t *  attr,
int *  kind
) 
 

PTW32_DLLPORT int pthread_mutexattr_getpshared (  const pthread_mutexattr_t *  attr,
int *  pshared
) 
 

PTW32_DLLPORT int pthread_mutexattr_gettype (  pthread_mutexattr_t *  attr,
int *  kind
) 
 

PTW32_DLLPORT int pthread_mutexattr_init (  pthread_mutexattr_t *  attr  ) 
 

PTW32_DLLPORT int pthread_mutexattr_setkind_np (  pthread_mutexattr_t *  attr,
int  kind
) 
 

PTW32_DLLPORT int pthread_mutexattr_setpshared (  pthread_mutexattr_t *  attr,
int  pshared
) 
 

PTW32_DLLPORT int pthread_mutexattr_settype (  pthread_mutexattr_t *  attr,
int  kind
) 
 

PTW32_DLLPORT int pthread_num_processors_np (  void   ) 
 

PTW32_DLLPORT int pthread_once (  pthread_once_t *  once_control,
void(*)(void)  init_routine
) 
 

PTW32_DLLPORT int pthread_rwlock_destroy (  pthread_rwlock_t *  lock  ) 
 

PTW32_DLLPORT int pthread_rwlock_init (  pthread_rwlock_t *  lock,
const pthread_rwlockattr_t *  attr
) 
 

PTW32_DLLPORT int pthread_rwlock_rdlock (  pthread_rwlock_t *  lock  ) 
 

PTW32_DLLPORT int pthread_rwlock_timedrdlock (  pthread_rwlock_t *  lock,
const struct timespec *  abstime
) 
 

PTW32_DLLPORT int pthread_rwlock_timedwrlock (  pthread_rwlock_t *  lock,
const struct timespec *  abstime
) 
 

PTW32_DLLPORT int pthread_rwlock_tryrdlock (  pthread_rwlock_t *   ) 
 

PTW32_DLLPORT int pthread_rwlock_trywrlock (  pthread_rwlock_t *   ) 
 

PTW32_DLLPORT int pthread_rwlock_unlock (  pthread_rwlock_t *  lock  ) 
 

PTW32_DLLPORT int pthread_rwlock_wrlock (  pthread_rwlock_t *  lock  ) 
 

PTW32_DLLPORT int pthread_rwlockattr_destroy (  pthread_rwlockattr_t *  attr  ) 
 

PTW32_DLLPORT int pthread_rwlockattr_getpshared (  const pthread_rwlockattr_t *  attr,
int *  pshared
) 
 

PTW32_DLLPORT int pthread_rwlockattr_init (  pthread_rwlockattr_t *  attr  ) 
 

PTW32_DLLPORT int pthread_rwlockattr_setpshared (  pthread_rwlockattr_t *  attr,
int  pshared
) 
 

PTW32_DLLPORT pthread_t pthread_self (  void   ) 
 

PTW32_DLLPORT int pthread_setcancelstate (  int  state,
int *  oldstate
) 
 

PTW32_DLLPORT int pthread_setcanceltype (  int  type,
int *  oldtype
) 
 

PTW32_DLLPORT int pthread_setconcurrency (  int   ) 
 

PTW32_DLLPORT int pthread_setschedparam (  pthread_t  thread,
int  policy,
const struct sched_param *  param
) 
 

PTW32_DLLPORT int pthread_setspecific (  pthread_key_t  key,
const void *  value
) 
 

PTW32_DLLPORT int pthread_spin_destroy (  pthread_spinlock_t *  lock  ) 
 

PTW32_DLLPORT int pthread_spin_init (  pthread_spinlock_t *  lock,
int  pshared
) 
 

PTW32_DLLPORT int pthread_spin_lock (  pthread_spinlock_t *  lock  ) 
 

PTW32_DLLPORT int pthread_spin_trylock (  pthread_spinlock_t *  lock  ) 
 

PTW32_DLLPORT int pthread_spin_unlock (  pthread_spinlock_t *  lock  ) 
 

PTW32_DLLPORT void pthread_testcancel (  void   ) 
 

PTW32_DLLPORT void* pthread_timechange_handler_np (  void *   ) 
 

PTW32_DLLPORT int pthread_win32_process_attach_np (  void   ) 
 

PTW32_DLLPORT int pthread_win32_process_detach_np (  void   ) 
 

PTW32_DLLPORT int pthread_win32_thread_attach_np (  void   ) 
 

PTW32_DLLPORT int pthread_win32_thread_detach_np (  void   ) 
 

PTW32_DLLPORT int pthreadCancelableTimedWait (  HANDLE  waitHandle,
DWORD  timeout
) 
 

PTW32_DLLPORT int pthreadCancelableWait (  HANDLE  waitHandle  ) 
 

PTW32_DLLPORT DWORD ptw32_get_exception_services_code (  void   ) 
 

PTW32_DLLPORT ptw32_cleanup_t* ptw32_pop_cleanup (  int  execute  ) 
 

PTW32_DLLPORT void ptw32_push_cleanup (  ptw32_cleanup_t *  cleanup,
void(*)(void *)  routine,
void *  arg
) 
 


Generated on Sun May 14 14:51:29 2006 by  doxygen 1.4.2