(3pthread) - POSIX threads library routines

(3pthread) - POSIX threads library routines


Intro
introduction to the POSIX Threads Library

intro
Introduction to the POSIX Threads Library

pthread_atfork
register fork handlers

pthread_attr_destroy
destroy threads attribute object

pthread_attr_getdetachstate
get detachstate attribute

pthread_attr_getinheritsched
get inheritsched attribute

pthread_attr_getschedparam
get schedparam attribute

pthread_attr_getschedpolicy
get schedpolicy attribute

pthread_attr_getscope
get contentionscope attribute

pthread_attr_getstackaddr
get stackaddr attribute

pthread_attr_getstacksize
get stacksize attribute

pthread_attr_init, pthread_attr_destroy
initialise and destroy threads attribute object

pthread_attr_setdetachstate, pthread_attr_getdetachstate
set and get detachstate attribute

pthread_attr_setinheritsched, pthread_attr_getinheritsched
set and get inheritsched attribute

pthread_attr_setschedparam, pthread_attr_getschedparam
set and get schedparam attribute

pthread_attr_setschedpolicy, pthread_attr_getschedpolicy
set and get schedpolicy attribute

pthread_attr_setscope, pthread_attr_getscope
set and get contentionscope attribute

pthread_attr_setstackaddr, pthread_attr_getstackaddr
set and get stackaddr attribute

pthread_attr_setstacksize, pthread_attr_getstacksize
set and get stacksize attribute

pthread_cancel
cancel execution of a thread

pthread_cleanup_pop
pop a cancellation handler

pthread_cleanup_pop, pthread_cleanup_push
establish cancellation handlers

pthread_cleanup_push
push a cancellation handler

pthread_condattr_destroy
destroy condition variable attributes object

pthread_condattr_getpshared, pthread_condattr_setpshared
get and set the process-shared condition variable attributes

pthread_condattr_init, pthread_condattr_destroy
initialise and destroy condition variable attributes object

pthread_condattr_setpshared
set the process-shared condition variable attributes

pthread_cond_broadcast
wake up all threads waiting on a condition variable

pthread_cond_destroy
destroy a condition variable

pthread_cond_init, pthread_cond_destroy
initialize or destroy a condition variable

pthread_cond_signal, pthread_cond_broadcast
wake up threads waiting on a condition variable

pthread_cond_timedwait
wait on a condition variable for a limited time

pthread_cond_wait, pthread_cond_timedwait
wait on a condition variable

pthread_create
thread creation

pthread_detach
detach a thread

pthread_equal
compare thread IDs

pthread_exit
thread termination

pthread_getconcurrency
retrieve a level of concurrency

pthread_getschedparam, pthread_setschedparam
dynamic thread scheduling parameters access

pthread_getspecific
get thread-specific data

pthread_join
join control paths with another thread

pthread_key_create
create thread-specific data key

pthread_key_delete
delete thread-specific data key

pthread_kill
send a signal to a sibling thread

pthread_mutexattr_destroy
destroy mutex attributes object

pthread_mutexattr_getprioceiling
get prioceiling attribute of mutex attribute

pthread_mutexattr_getprotocol
get protocol attribute of mutex attribute object

pthread_mutexattr_getpshared
get process-shared attribute

pthread_mutexattr_gettype
get a mutex type

pthread_mutexattr_gettype, pthread_mutexattr_settype
get, set, a mutex type

pthread_mutexattr_init
initialize mutex attributes object

pthread_mutexattr_init, pthread_mutexattr_destroy
initialize, destroy mutex attributes object

pthread_mutexattr_setprioceiling
set prioceiling attribute of mutex attribute

pthread_mutexattr_setprioceiling, pthread_mutexattr_getprioceiling
set, get, prioceiling attribute of mutex attribute

pthread_mutexattr_setprotocol
set protocol attribute of mutex attribute object

pthread_mutexattr_setprotocol, pthread_mutexattr_getprotocol
set, get protocol attribute of mutex attribute object

pthread_mutexattr_setpshared
set process-shared attribute

pthread_mutexattr_setpshared, pthread_mutexattr_getpshared
set, get process-shared attribute

pthread_mutexattr_settype
set a mutex type

pthread_mutex_destroy
destroy a mutex

pthread_mutex_getprioceiling
get priority ceiling of a mutex

pthread_mutex_init
initialize a mutex

pthread_mutex_init, pthread_mutex_destroy
initialize, destroy a mutex

pthread_mutex_lock
lock a mutex

pthread_mutex_lock, pthread_mutex_trylock, pthread_mutex_unlock
lock, unlock a mutex

pthread_mutex_setprioceiling
set priority ceiling of a mutex

pthread_mutex_setprioceiling, pthread_mutex_getprioceiling
set, get, priority ceiling of a mutex

pthread_mutex_trylock
attempt to lock a mutex once

pthread_mutex_unlock
unlock a mutex

pthread_once
dynamic package initialization

pthread_rwlockattr_destroy
destroy read-write lock attributes object

pthread_rwlockattr_getpshared
get process-shared attribute of read-write lock

pthread_rwlockattr_init
initialize, destroy, read-write lock attributes object

pthread_rwlockattr_init
initialize read-write lock attributes object

pthread_rwlockattr_setpshared
set process-shared attribute of read-write lock

pthread_rwlockattr_setpshared, pthread_rwlockattr_getpshared
set, get, process-shared attribute of read-write lock

pthread_rwlock_destroy
destroy a reader-writer lock

pthread_rwlock_init
initialize a reader-writer lock

pthread_rwlock_init, pthread_rwlock_destroy
initialize, destroy, a read-write lock

pthread_rwlock_rdlock
lock a read-write lock in read mode

pthread_rwlock_rdlock, pthread_rwlock_tryrdlock
lock, attempt to lock, a read-write lock in read mode

pthread_rwlock_tryrdlock
attempt to lock a read-write lock in read mode

pthread_rwlock_trywrlock
conditionally acquire a reader-writer lock in write mode

pthread_rwlock_unlock
release a read-write lock

pthread_rwlock_wrlock
acquire a reader-writer lock in write mode

pthread_rwlock_wrlock, pthread_rwlock_trywrlock
acquire a read-write lock in write mode

pthread_self
get thread identifier of the calling thread

pthread_setcancelstate
set cancelability state

pthread_setcancelstate, pthread_setcanceltype, pthread_testcancel
set cancelability state

pthread_setcanceltype
set cancelability type

pthread_setconcurrency
request a level of concurrency

pthread_setconcurrency, pthread_getconcurrency
request, retrieve a level of concurrency

pthread_setschedparam
dynamic thread scheduling parameters access

pthread_setspecific
set thread-specific data

pthread_setspecific, pthread_getspecific
thread-specific data management

pthread_sigmask
change or examine the signal mask of a thread

pthread_testcancel
create a cancellation point in the calling thread

sched_yield
yield the processor

sem_close
close a named semaphore

sem_destroy
destroy an unnamed semaphore

sem_getvalue
get the value of a semaphore

sem_init
initialize an unnamed semaphore

sem_open
initialize and open a named semaphore

sem_post
unlock a semaphore

sem_trywait
attempt to lock a semaphore

sem_unlink
remove a named semaphore

sem_wait
lock a semaphore

sem_wait, sem_trywait
lock, attempt to lock, a semaphore

sigwait
wait for a signal to be posted

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004