Multithreaded Programming Guide

Exit Print View

Updated: July 2014
 
 

P

parallel
algorithmsindex iconMultithreaded Cooperation Through Barrier Synchronization
PC
program counterindex iconUser-Level Threads State
PC_GETCIDindex iconLWPs and Scheduling Classes
PC_GETCLINFOindex iconLWPs and Scheduling Classes
PC_GETPARMSindex iconLWPs and Scheduling Classes
PC_SETPARMSindex iconLWPs and Scheduling Classes
Performance Analyzerindex iconProfiling with Performance Analyzer
Peterson's Algorithmindex iconPeterson's Algorithm
PL/1 languageindex iconContinuation Semantics
portabilityindex iconProgramming with Synchronization Objects
preadindex iconShared I/O and New I/O System Calls
printfindex iconSignal Handlers and Async-Signal Safety
problemindex iconSynchronizing Threads
priocntl()index iconTimeshare Scheduling
priocntl(2)
PC_GETPARMSindex iconLWPs and Scheduling Classes
priocntlindex iconLWPs and Scheduling Classes
PC_GETCIDindex iconLWPs and Scheduling Classes
PC_GETCLINFOindex iconLWPs and Scheduling Classes
PC_SETPARMSindex iconLWPs and Scheduling Classes
priorityindex iconUser-Level Threads State
and scheduling
index iconthr_setprio Syntax
index iconRealtime Scheduling
inheritance
index iconthr_getprio Syntax
index iconthr_create Syntax
rangeindex iconthr_setprio Syntax
setting for a threadindex iconthr_setprio Syntax
priority inversionindex iconpthread_mutexattr_setprotocol Syntax
producer and consumer problem
index iconShared-Memory Multiprocessors
index iconProducer and Consumer Problem Example
index iconProducer and Consumer Problem Using Semaphores
producer/consumer problemindex iconExample of Producer and Consumer Problem
profilingindex iconProfiling with Performance Analyzer
multithreaded programsindex iconProfiling a Multithreaded Program
programmer-allocated stack
index iconthr_min_stack Syntax
index iconthr_min_stack Syntax
index iconBuilding Your Own Stack
prolagen
decrease semaphore, P operationindex iconSynchronization With Semaphores
pthread_atforkindex iconSolution: pthread_atfork
syntax
index iconSolution: pthread_atfork
index iconpthread_atfork Syntax
pthread_attr_destroy
return valuesindex iconpthread_attr_destroy Return Values
syntaxindex iconpthread_attr_destroy Syntax
pthread_attr_getdetachstate
return valuesindex iconpthread_attr_getdetachstate Return Values
syntaxindex iconpthread_attr_getdetachstate Syntax
pthread_attr_getguardsize
return valuesindex iconpthread_attr_getguardsize Return Values
syntaxindex iconpthread_attr_getguardsize Syntax
pthread_attr_getinheritsched
return valuesindex iconpthread_attr_getinheritsched Return Values
syntaxindex iconpthread_attr_getinheritsched Syntax
pthread_attr_getschedparam
return valuesindex iconpthread_attr_getschedparam Return Values
syntaxindex iconpthread_attr_getschedparam Syntax
pthread_attr_getschedpolicy
return valuesindex iconpthread_attr_getschedpolicy Return Values
syntaxindex iconpthread_attr_getschedpolicy Syntax
pthread_attr_getscope
return valuesindex iconpthread_attr_getscope Return Values
syntaxindex iconpthread_attr_getscope Syntax
pthread_attr_getstack
return valuesindex iconpthread_attr_getstack Return Values
syntaxindex iconpthread_attr_getstack Syntax
pthread_attr_getstacksize
return valuesindex iconpthread_attr_getstacksize Return Values
syntaxindex iconpthread_attr_getstacksize Syntax
pthread_attr_init
attribute valuesindex iconpthread_attr_init Syntax
return valuesindex iconpthread_attr_init Return Values
syntaxindex iconpthread_attr_init Syntax
pthread_attr_setdetachstate
return valuesindex iconpthread_attr_setdetachstate Return Values
syntaxindex iconpthread_attr_setdetachstate(3C) Syntax
pthread_attr_setguardsize
return valuesindex iconpthread_attr_setguardsize Return Values
syntaxindex iconpthread_attr_setguardsize(3C) Syntax
pthread_attr_setinheritsched
return valuesindex iconpthread_attr_setinheritsched Return Values
syntaxindex iconpthread_attr_setinheritsched Syntax
pthread_attr_setschedparam
return valuesindex iconpthread_attr_setschedparam Return Values
syntaxindex iconpthread_attr_setschedparam Syntax
pthread_attr_setschedpolicy
return valuesindex iconpthread_attr_setschedpolicy Return Values
syntaxindex iconpthread_attr_setschedpolicy(3C) Syntax
pthread_attr_setscope
return valuesindex iconpthread_attr_setscope Return Values
syntaxindex iconpthread_attr_setscope Syntax
pthread_attr_setstack
return valuesindex iconpthread_attr_setstack(3C) Return Values
syntaxindex iconpthread_attr_setstack(3C) Syntax
pthread_attr_setstacksize
return valuesindex iconpthread_attr_setstacksize Return Values
syntaxindex iconpthread_attr_setstacksize Syntax
pthread_barrier_destroy
return valuesindex iconpthread_barrier_destroy Return Values
syntaxindex iconpthread_barrier_destroy Syntax
pthread_barrier_init
return valuesindex iconpthread_barrier_init Return Values
syntaxindex iconpthread_barrier_init Syntax
pthread_barrier_wait
return valuesindex iconpthread_barrier_wait Return Values
syntaxindex iconpthread_barrier_wait Syntax
pthread_barrierattr_destroy
return valuesindex iconpthread_barrierattr_destroy Return Values
syntaxindex iconpthread_barrierattr_destroy Syntax
pthread_barrierattr_getpshared
return valuesindex iconpthread_barrierattr_getpshared Return Values
pthread_barrierattr_init
return valuesindex iconpthread_barrierattr_init Return Values
syntaxindex iconpthread_barrierattr_init Syntax
pthread_barrierattr_setpshared
return valuesindex iconpthread_barrierattr_setpshared Return Values
pthread_cancel
return valuesindex iconpthread_cancel Return Values
syntaxindex iconpthread_cancel Syntax
pthread_cleanup_pop
syntaxindex iconpthread_cleanup_pop Syntax
pthread_cleanup_push
syntaxindex iconpthread_cleanup_push Syntax
pthread_cond_broadcast
index iconExtending Traditional Signals
index iconLost Wake-Up Problem
index iconpthread_cond_wait Syntax
exampleindex iconpthread_cond_broadcast Syntax
return valuesindex iconpthread_cond_broadcast Return Values
syntaxindex iconpthread_cond_broadcast Syntax
pthread_cond_destroy
return valuesindex iconpthread_cond_destroy Return Values
syntaxindex iconpthread_cond_destroy Syntax
pthread_cond_init
return valuesindex iconpthread_cond_init Return Values
syntaxindex iconpthread_cond_init Syntax
pthread_cond_reltimedwait_np
return valuesindex iconpthread_cond_reltimedwait_np Return Values
syntaxindex iconpthread_cond_reltimedwait_np Syntax
pthread_cond_signal
index iconExtending Traditional Signals
index iconProducer and Consumer Problem With Condition Variables
index iconLost Wake-Up Problem
index iconpthread_cond_wait Syntax
exampleindex iconpthread_cond_signal Syntax
return valuesindex iconpthread_cond_signal Return Values
syntaxindex iconpthread_cond_signal Syntax
pthread_cond_timedwait
exampleindex iconpthread_cond_timedwait Syntax
return valuesindex iconpthread_cond_timedwait Return Values
syntaxindex iconpthread_cond_timedwait Syntax
pthread_cond_wait
index iconExtending Traditional Signals
index iconProducer and Consumer Problem With Condition Variables
index iconLost Wake-Up Problem
exampleindex iconpthread_cond_signal Syntax
return valuesindex iconpthread_cond_wait Return Values
syntaxindex iconpthread_cond_wait Syntax
pthread_condattr_destroy
return valuesindex iconpthread_condattr_destroy Return Values
syntaxindex iconpthread_condattr_destroy Syntax
pthread_condattr_getclock
return valuesindex iconpthread_condattr_getclock Returns
pthread_condattr_getpshared
return valuesindex iconpthread_condattr_getpshared Return Values
syntaxindex iconpthread_condattr_getpshared Syntax
pthread_condattr_init
return valuesindex iconpthread_condattr_init Return Values
syntaxindex iconpthread_condattr_init Syntax
pthread_condattr_setclock
return valuesindex iconpthread_condattr_setclock Returns
syntaxindex iconpthread_condattr_setclock Syntax
pthread_condattr_setpshared
return valuesindex iconpthread_condattr_setpshared Return Values
syntaxindex iconpthread_condattr_setpshared Syntax
pthread_create
return valuesindex iconpthread_create Return Values
syntaxindex iconpthread_create Syntax
pthread_detach
return valuesindex iconpthread_detach Return Values
syntaxindex iconpthread_detach Syntax
pthread_equal
return valuesindex iconpthread_equal Return Values
syntaxindex iconpthread_equal Syntax
pthread_exit
return valuesindex iconpthread_exit Return Values
syntaxindex iconpthread_exit Syntax
pthread_getconcurrency
return valuesindex iconpthread_getconcurrency Return Values
syntaxindex iconpthread_getconcurrency Syntax
pthread_getschedparam
return valuesindex iconpthread_getschedparam Return Values
syntaxindex iconpthread_getschedparam Syntax
pthread_getspecific
syntaxindex iconpthread_getspecific Syntax
pthread_join(3C)index iconAbout Stacks
pthread_joinindex iconTamed Asynchrony
return valuesindex iconpthread_join Return Values
syntaxindex iconpthread_join Syntax
pthread_key_create
exampleindex iconTurning Global References Into Private References
return valuesindex iconpthread_key_create Return Values
syntaxindex iconpthread_key_create Syntax
pthread_key_delete
return valuesindex iconpthread_key_delete Return Values
syntaxindex iconpthread_key_delete Syntax
pthread_kill()index iconSending a Signal to a Specific Thread
pthread_kill
return valuesindex iconpthread_kill Return Values
syntaxindex iconpthread_kill Syntax
pthread_mutex_consistent_np
return valuesindex iconpthread_mutex_consistent_np Return Values
syntaxindex iconpthread_mutex_consistent_np Syntax
pthread_mutex_destroy
return valuesindex iconpthread_mutex_destroy Return Values
syntaxindex iconpthread_mutex_destroy Syntax
pthread_mutex_getprioceiling
return valuesindex iconpthread_mutex_getprioceiling Return Values
syntaxindex iconGetting the Mutex's Priority Ceiling
pthread_mutex_init
return valuesindex iconpthread_mutex_init Return Values
syntaxindex iconpthread_mutex_init Syntax
pthread_mutex_lock
example
index iconCircular-Linked List Structure
index iconSingly-Linked List Structure
index iconCode Examples of Mutex Locking
return valuesindex iconpthread_mutex_lock Return Values
syntaxindex iconpthread_mutex_lock Syntax
pthread_mutex_setprioceiling
return valuesindex iconpthread_mutex_setprioceiling Return Values
syntaxindex iconSetting the Mutex's Priority Ceiling
pthread_mutex_timedlock
return values
index iconpthread_mutex_reltimedlock_np Return Values
index iconpthread_mutex_timedlock Return Values
syntax
index iconpthread_mutex_reltimedlock_np Syntax
index iconpthread_mutex_timedlock Syntax
pthread_mutex_trylock(3C)index iconAvoiding Deadlock
pthread_mutex_trylockindex iconConditional Locking
return valuesindex iconpthread_mutex_trylock Return Values
syntaxindex iconpthread_mutex_trylock Syntax
pthread_mutex_unlock
example
index iconCircular-Linked List Structure
index iconSingly-Linked List Structure
index iconCode Examples of Mutex Locking
return valuesindex iconpthread_mutex_unlock Return Values
syntaxindex iconpthread_mutex_unlock Syntax
pthread_mutexattr_destroy
return valuesindex iconpthread_mutexattr_destroy Return Values
syntaxindex iconpthread_mutexattr_destroy Syntax
pthread_mutexattr_getprioceiling
return valuesindex iconpthread_mutexattr_getprioceiling Return Values
syntaxindex iconGetting the Mutex Attribute's Priority Ceiling
pthread_mutexattr_getprotocol
return valuesindex iconpthread_mutexattr_getprotocol Return Values
syntaxindex iconGetting the Mutex Attribute's Protocol
pthread_mutexattr_getpshared
return valuesindex iconpthread_mutexattr_getpshared Return Values
syntaxindex iconpthread_mutexattr_getpshared Syntax
pthread_mutexattr_getrobust_np
return valuesindex iconpthread_mutexattr_getrobust_np Return Values
syntaxindex iconGetting the Mutex's Robust Attribute
pthread_mutexattr_gettype
return valuesindex iconpthread_mutexattr_gettype Return Values
syntaxindex iconGetting the Mutex Type Attribute
pthread_mutexattr_init
return valuesindex iconpthread_mutexattr_init Return Values
syntaxindex iconpthread_mutexattr_init Syntax
pthread_mutexattr_setprioceiling
return valuesindex iconpthread_mutexattr_setprioceiling Return Values
syntaxindex iconSetting the Mutex Attribute's Priority Ceiling
pthread_mutexattr_setprotocol
return valuesindex iconpthread_mutexattr_setprotocol Return Values
syntaxindex iconSetting the Mutex Attribute's Protocol
pthread_mutexattr_setpshared
return valuesindex iconpthread_mutexattr_setpshared Return Values
syntaxindex iconpthread_mutexattr_setpshared Syntax
pthread_mutexattr_setrobust_np
return valueindex iconpthread_mutexattr_setrobust_np Return Values
syntaxindex iconSetting the Mutex's Robust Attribute
pthread_mutexattr_settype
return valuesindex iconpthread_mutexattr_settype Return Values
syntaxindex iconSetting the Mutex Type Attribute
pthread_once
return valuesindex iconpthread_once Return Values
syntaxindex iconpthread_once Syntax
PTHREAD_PRIO_INHERITindex iconpthread_mutexattr_setprotocol Syntax
PTHREAD_PRIO_NONEindex iconpthread_mutexattr_setprotocol Syntax
PTHREAD_PRIO_PROTECTindex iconpthread_mutexattr_setprotocol Syntax
pthread_rwlock_destroy
return valuesindex iconpthread_rwlock_destroy Return Values
syntaxindex iconpthread_rwlock_destroy Syntax
pthread_rwlock_init
return valuesindex iconpthread_rwlock_init Return Values
syntaxindex iconpthread_rwlock_init Syntax
pthread_rwlock_rdlock
return valuesindex iconpthread_rwlock_rdlock Return Values
syntaxindex iconpthread_rwlock_rdlock Syntax
pthread_rwlock_timedrdlock
return valuesindex iconpthread_rwlock_timedrdlock Return Values
syntaxindex iconpthread_rwlock_timedrdlock Syntax
pthread_rwlock_timedwrlock
syntaxindex iconpthread_rwlock_timedwrlock Syntax
pthread_rwlock_tryrdlock
return valuesindex iconpthread_rwlock_tryrdlock Return Values
syntaxindex iconpthread_rwlock_tryrdlock Syntax
pthread_rwlock_trywrlock
return valuesindex iconpthread_rwlock_trywrlock Return Values
syntaxindex iconpthread_rwlock_trywrlock Syntax
pthread_rwlock_unlock
return valuesindex iconpthread_rwlock_unlock Return Values
syntaxindex iconpthread_rwlock_unlock Syntax
pthread_rwlock_wrlock
return valuesindex iconpthread_rwlock_wrlock Return Values
syntaxindex iconpthread_rwlock_wrlock Syntax
pthread_rwlockattr_destroy
return valuesindex iconpthread_rwlockattr_destroy Return Values
syntaxindex iconpthread_rwlockattr_destroy Syntax
pthread_rwlockattr_getpshared
return valuesindex iconpthread_rwlockattr_getpshared Return Values
syntaxindex iconpthread_rwlockattr_getpshared Syntax
pthread_rwlockattr_init
return valuesindex iconpthread_rwlockattr_init Return Values
syntaxindex iconpthread_rwlockattr_init Syntax
pthread_rwlockattr_setpshared
return valuesindex iconpthread_rwlockattr_setpshared Return Values
syntaxindex iconpthread_rwlockattr_setpshared Syntax
PTHREAD_SCOPE_PROCESSindex iconThread Scheduling
PTHREAD_SCOPE_SYSTEM
index iconSetting the Scope
index iconThread Scheduling
pthread_self
return valuesindex iconpthread_self Return Values
syntaxindex iconpthread_self Syntax
pthread_setcancelstate
return valuesindex iconpthread_setcancelstate Return Values
syntaxindex iconpthread_setcancelstate Syntax
pthread_setcanceltype
return valuesindex iconpthread_setcanceltype Return Values
syntaxindex iconpthread_setcanceltype Syntax
pthread_setconcurrency
return valuesindex iconpthread_setconcurrency Return Values
syntaxindex iconpthread_setconcurrency Syntax
pthread_setschedparam
return valuesindex iconpthread_setschedparam Return Values
syntaxindex iconpthread_setschedparam Syntax
pthread_setschedprio
return valuesindex iconpthread_setschedprio Return Values
syntaxindex iconpthread_setschedprio Syntax
pthread_setspecific
exampleindex iconTurning Global References Into Private References
return valuesindex iconpthread_setspecific Return Values
syntaxindex iconpthread_setspecific Syntax
pthread_sigmask()index iconSetting the Thread's Signal Mask
pthread_sigmask
return values
index iconpthread_atfork Return Values
index iconpthread_sigmask Return Values
syntaxindex iconpthread_sigmask Syntax
pthread_spin_destroy()
syntax
index iconpthread_spin_destroy Return Values
index iconpthread_spin_destroy Syntax
pthread_spin_init
syntaxindex iconpthread_spin_init Syntax
pthread_spin_lock
return valuesindex iconpthread_spin_lock Return Values
syntaxindex iconpthread_spin_lock Syntax
pthread_spin_trylock
return valuesindex iconpthread_spin_trylock Return Values
syntaxindex iconpthread_spin_trylock Syntax
pthread_spin_unlock
return valuesindex iconpthread_spin_unlock Return Values
syntaxindex iconpthread_spin_unlock Syntax
PTHREAD_STACK_MINindex iconBuilding Your Own Stack
pthread_testcancel
syntaxindex iconpthread_testcancel Syntax
putcindex iconAlternatives to getc and putc
putc_unlockedindex iconAlternatives to getc and putc
pwriteindex iconShared I/O and New I/O System Calls