P
- parallel, algorithms, Parallelizing a Loop on a Shared-Memory Parallel Computer
- PC, program counter, User-Level Threads State
- PC_GETCID, LWPs and Scheduling Classes
- PC_GETCLINFO, LWPs and Scheduling Classes
- PC_GETPARMS, LWPs and Scheduling Classes
- PC_SETPARMS, LWPs and Scheduling Classes
- Performance Analyzer, Profiling with Performance Analyzer
- Peterson's Algorithm, Peterson's Algorithm
- PL/1 language, Continuation Semantics
- portability, Programming with Synchronization Objects
- pread, Shared I/O and New I/O System Calls
- printf, Signal Handlers and Async-Signal Safety
- problem, Synchronizing Threads
- priocntl(), Timeshare Scheduling
- priocntl, LWPs and Scheduling Classes
- PC_GETCID, LWPs and Scheduling Classes
- PC_GETCLINFO, LWPs and Scheduling Classes
- PC_SETPARMS, LWPs and Scheduling Classes
- priocntl(2), PC_GETPARMS, LWPs and Scheduling Classes
- priority, User-Level Threads State
- and scheduling
- Realtime Scheduling
- thr_setprio Syntax
- inheritance
- thr_create Syntax
- thr_getprio Syntax
- range, thr_setprio Syntax
- setting for a thread, thr_setprio Syntax
- priority inversion, pthread_mutexattr_setprotocol Syntax
- producer and consumer problem
- Producer and Consumer Problem Using Semaphores
- Producer and Consumer Problem Example
- Shared-Memory Multiprocessors
- producer/consumer problem, Example of Producer and Consumer Problem
- profiling, Profiling with Performance Analyzer
- multithreaded programs, Profiling a Multithreaded Program
- programmer-allocated stack
- Building Your Own Stack
- thr_min_stack Syntax
- thr_min_stack Syntax
- prolagen, decrease semaphore, P operation, Synchronization With Semaphores
- pthread_atfork, Fork-One Safety Problem and Solution
- syntax
- pthread_atfork Syntax
- Fork-One Safety Problem and Solution
- pthread_attr_destroy
- return values, pthread_attr_destroy Return Values
- syntax, pthread_attr_destroy Syntax
- pthread_attr_getdetachstate
- return values, pthread_attr_getdetachstate Return Values
- syntax, pthread_attr_getdetachstate Syntax
- pthread_attr_getguardsize
- return values, pthread_attr_getguardsize Return Values
- syntax, pthread_attr_getguardsize Syntax
- pthread_attr_getinheritsched
- return values, pthread_attr_getinheritsched Return Values
- syntax, pthread_attr_getinheritsched Syntax
- pthread_attr_getschedparam
- return values, pthread_attr_getschedparam Return Values
- syntax, pthread_attr_getschedparam Syntax
- pthread_attr_getschedpolicy
- return values, pthread_attr_getschedpolicy Return Values
- syntax, pthread_attr_getschedpolicy Syntax
- pthread_attr_getscope
- return values, pthread_attr_getscope Return Values
- syntax, pthread_attr_getscope Syntax
- pthread_attr_getstack
- return values, pthread_attr_getstack Return Values
- syntax, pthread_attr_getstack Syntax
- pthread_attr_getstacksize
- return values, pthread_attr_getstacksize Return Values
- syntax, pthread_attr_getstacksize Syntax
- pthread_attr_init
- attribute values, pthread_attr_init Syntax
- return values, pthread_attr_init Return Values
- syntax, pthread_attr_init Syntax
- pthread_attr_setdetachstate
- return values, pthread_attr_setdetachstate Return Values
- syntax, pthread_attr_setdetachstate(3C) Syntax
- pthread_attr_setguardsize
- return values, pthread_attr_setguardsize Return Values
- syntax, pthread_attr_setguardsize(3C) Syntax
- pthread_attr_setinheritsched
- return values, pthread_attr_setinheritsched Return Values
- syntax, pthread_attr_setinheritsched Syntax
- pthread_attr_setschedparam
- return values, pthread_attr_setschedparam Return Values
- syntax, pthread_attr_setschedparam Syntax
- pthread_attr_setschedpolicy
- return values, pthread_attr_setschedpolicy Return Values
- syntax, pthread_attr_setschedpolicy(3C) Syntax
- pthread_attr_setscope
- return values, pthread_attr_setscope Return Values
- syntax, pthread_attr_setscope Syntax
- pthread_attr_setstack
- return values, pthread_attr_setstack(3C) Return Values
- syntax, pthread_attr_setstack(3C) Syntax
- pthread_attr_setstacksize
- return values, pthread_attr_setstacksize Return Values
- syntax, pthread_attr_setstacksize Syntax
- pthread_barrier_destroy
- return values, pthread_barrier_destroy Return Values
- syntax, pthread_barrier_destroy Syntax
- pthread_barrier_init
- return values, pthread_barrier_init() Return Values
- syntax, pthread_barrier_init() Syntax
- pthread_barrier_wait
- return values, pthread_barrier_wait() Return Values
- syntax, pthread_barrier_wait() Syntax
- pthread_barrierattr_destroy
- return values, pthread_barrierattr_destroy() Return Values
- syntax, pthread_barrierattr_destroy() Syntax
- pthread_barrierattr_getpshared, return values, pthread_barrierattr_getpshared() Return Values
- pthread_barrierattr_init
- return values, pthread_barrierattr_init() Return Values
- syntax, pthread_barrierattr_init() Syntax
- pthread_barrierattr_setpshared, return values, pthread_barrierattr_setpshared() Return Values
- pthread_cancel
- return values, pthread_cancel Return Values
- syntax, pthread_cancel Syntax
- pthread_cleanup_pop, syntax, pthread_cleanup_pop Syntax
- pthread_cleanup_push, syntax, pthread_cleanup_push Syntax
- pthread_cond_broadcast
- pthread_cond_wait Syntax
- Lost Wake-Up Problem
- Extending Traditional Signals
- example, pthread_cond_broadcast Syntax
- return values, pthread_cond_broadcast Return Values
- syntax, pthread_cond_broadcast Syntax
- pthread_cond_destroy
- return values, pthread_cond_destroy Return Values
- syntax, pthread_cond_destroy Syntax
- pthread_cond_init
- return values, pthread_cond_init Return Values
- syntax, pthread_cond_init Syntax
- pthread_cond_reltimedwait_np
- return values, pthread_cond_reltimedwait_np Return Values
- syntax, pthread_cond_reltimedwait_np Syntax
- pthread_cond_signal
- pthread_cond_wait Syntax
- Lost Wake-Up Problem
- Producer and Consumer Problem
- Extending Traditional Signals
- example, pthread_cond_signal Syntax
- return values, pthread_cond_signal Return Values
- syntax, pthread_cond_signal Syntax
- pthread_cond_timedwait
- example, pthread_cond_timedwait Syntax
- return values, pthread_cond_timedwait Return Values
- syntax, pthread_cond_timedwait Syntax
- pthread_cond_wait
- Lost Wake-Up Problem
- Producer and Consumer Problem
- Extending Traditional Signals
- example, pthread_cond_signal Syntax
- return values, pthread_cond_wait Return Values
- syntax, pthread_cond_wait Syntax
- pthread_condattr_destroy
- return values, pthread_condattr_destroy Return Values
- syntax, pthread_condattr_destroy Syntax
- pthread_condattr_getclock, return values, pthread_condattr_getclock Returns
- pthread_condattr_getpshared
- return values, pthread_condattr_getpshared Return Values
- syntax, pthread_condattr_getpshared Syntax
- pthread_condattr_init
- return values, pthread_condattr_init Return Values
- syntax, pthread_condattr_init Syntax
- pthread_condattr_setclock
- return values, pthread_condattr_setclock Returns
- syntax, pthread_condattr_setclock Syntax
- pthread_condattr_setpshared
- return values, pthread_condattr_setpshared Return Values
- syntax, pthread_condattr_setpshared Syntax
- pthread_create
- return values, pthread_create Return Values
- syntax, pthread_create Syntax
- pthread_detach
- return values, pthread_detach Return Values
- syntax, pthread_detach Syntax
- pthread_equal
- return values, pthread_equal Return Values
- syntax, pthread_equal Syntax
- pthread_exit
- return values, pthread_exit Return Values
- syntax, pthread_exit Syntax
- pthread_getconcurrency
- return values, pthread_getconcurrency Return Values
- syntax, pthread_getconcurrency Syntax
- pthread_getschedparam
- return values, pthread_getschedparam Return Values
- syntax, pthread_getschedparam Syntax
- pthread_getspecific, syntax, pthread_getspecific Syntax
- pthread_join, Tamed Asynchrony
- return values, pthread_join Return Values
- syntax, pthread_join Syntax
- pthread_join(3C), About Stacks
- pthread_key_create
- example, Global and Private Thread-Specific Data Example
- return values, pthread_key_create Return Values
- syntax, pthread_key_create Syntax
- pthread_key_delete
- return values, pthread_key_delete Return Values
- syntax, pthread_key_delete Syntax
- pthread_kill(), Sending a Signal to a Specific Thread
- pthread_kill
- return values, pthread_kill Return Values
- syntax, pthread_kill Syntax
- pthread_mutex_consistent_np
- return values, pthread_mutex_consistent_np Return Values
- syntax, pthread_mutex_consistent_np Syntax
- pthread_mutex_destroy
- return values, pthread_mutex_destroy Return Values
- syntax, pthread_mutex_destroy Syntax
- pthread_mutex_getprioceiling
- return values, pthread_mutex_getprioceiling Return Values
- syntax, Getting the Mutex's Priority Ceiling
- pthread_mutex_init
- return values, pthread_mutex_init Return Values
- syntax, pthread_mutex_init Syntax
- pthread_mutex_lock
- example
- Code Examples of Mutex Locking
- Examples of Using Nested Locking With a Singly-Linked List
- Example of Nested Locking With a Circularly-Linked List
- return values, pthread_mutex_lock Return Values
- syntax, pthread_mutex_lock Syntax
- pthread_mutex_setprioceiling
- return values, pthread_mutex_setprioceiling Return Values
- syntax, Setting the Mutex's Priority Ceiling
- pthread_mutex_timedlock
- return values
- pthread_mutex_timedlock() Return Values
- pthread_mutex_reltimedlock_np() Return Values
- syntax
- pthread_mutex_timedlock() Syntax
- pthread_mutex_reltimedlock_np() Syntax
- pthread_mutex_trylock, Examples of Using Lock Hierarchies
- return values, pthread_mutex_trylock Return Values
- syntax, pthread_mutex_trylock Syntax
- pthread_mutex_trylock(3C), Avoiding Deadlock
- pthread_mutex_unlock
- example
- Code Examples of Mutex Locking
- Examples of Using Nested Locking With a Singly-Linked List
- Example of Nested Locking With a Circularly-Linked List
- return values, pthread_mutex_unlock Return Values
- syntax, pthread_mutex_unlock Syntax
- pthread_mutexattr_destroy
- return values, pthread_mutexattr_destroy Return Values
- syntax, pthread_mutexattr_destroy Syntax
- pthread_mutexattr_getprioceiling
- return values, pthread_mutexattr_getprioceiling Return Values
- syntax, Getting the Mutex Attribute's Priority Ceiling
- pthread_mutexattr_getprotocol
- return values, pthread_mutexattr_getprotocol Return Values
- syntax, Getting the Mutex Attribute's Protocol
- pthread_mutexattr_getpshared
- return values, pthread_mutexattr_getpshared Return Values
- syntax, pthread_mutexattr_getpshared Syntax
- pthread_mutexattr_getrobust_np
- return values, pthread_mutexattr_getrobust_np Return Values
- syntax, Getting the Mutex's Robust Attribute
- pthread_mutexattr_gettype
- return values, pthread_mutexattr_gettype Return Values
- syntax, Getting the Mutex Type Attribute
- pthread_mutexattr_init
- return values, pthread_mutexattr_init Return Values
- syntax, pthread_mutexattr_init Syntax
- pthread_mutexattr_setprioceiling
- return values, pthread_mutexattr_setprioceiling Return Values
- syntax, Setting the Mutex Attribute's Priority Ceiling
- pthread_mutexattr_setprotocol
- return values, pthread_mutexattr_setprotocol Return Values
- syntax, Setting the Mutex Attribute's Protocol
- pthread_mutexattr_setpshared
- return values, pthread_mutexattr_setpshared Return Values
- syntax, pthread_mutexattr_setpshared Syntax
- pthread_mutexattr_setrobust_np
- return value, pthread_mutexattr_setrobust_np Return Values
- syntax, Setting the Mutex's Robust Attribute
- pthread_mutexattr_settype
- return values, pthread_mutexattr_settype Return Values
- syntax, Setting the Mutex Type Attribute
- pthread_once
- return values, pthread_once Return Values
- syntax, pthread_once Syntax
- PTHREAD_PRIO_INHERIT, pthread_mutexattr_setprotocol Syntax
- PTHREAD_PRIO_NONE, pthread_mutexattr_setprotocol Syntax
- PTHREAD_PRIO_PROTECT, pthread_mutexattr_setprotocol Syntax
- pthread_rwlock_destroy
- return values, pthread_rwlock_destroy Return Values
- syntax, pthread_rwlock_destroy Syntax
- pthread_rwlock_init
- return values, pthread_rwlock_init Return Values
- syntax, pthread_rwlock_init Syntax
- pthread_rwlock_rdlock
- return values, pthread_rwlock_rdlock Return Values
- syntax, pthread_rwlock_rdlock Syntax
- pthread_rwlock_timedrdlock
- return values, pthread_rwlock_timedrdlock Return Values
- syntax, pthread_rwlock_timedrdlock Syntax
- pthread_rwlock_timedwrlock, syntax, pthread_rwlock_timedwrlock Syntax
- pthread_rwlock_tryrdlock
- return values, pthread_rwlock_tryrdlock Return Values
- syntax, pthread_rwlock_tryrdlock Syntax
- pthread_rwlock_trywrlock
- return values, pthread_rwlock_trywrlock Return Values
- syntax, pthread_rwlock_trywrlock Syntax
- pthread_rwlock_unlock
- return values, pthread_rwlock_unlock Return Values
- syntax, pthread_rwlock_unlock Syntax
- pthread_rwlock_wrlock
- return values, pthread_rwlock_wrlock Return Values
- syntax, pthread_rwlock_wrlock Syntax
- pthread_rwlockattr_destroy
- return values, pthread_rwlockattr_destroy Return Values
- syntax, pthread_rwlockattr_destroy Syntax
- pthread_rwlockattr_getpshared
- return values, pthread_rwlockattr_getpshared Return Values
- syntax, pthread_rwlockattr_getpshared Syntax
- pthread_rwlockattr_init
- return values, pthread_rwlockattr_init Return Values
- syntax, pthread_rwlockattr_init Syntax
- pthread_rwlockattr_setpshared
- return values, pthread_rwlockattr_setpshared Return Values
- syntax, pthread_rwlockattr_setpshared Syntax
- PTHREAD_SCOPE_PROCESS, Thread Scheduling
- PTHREAD_SCOPE_SYSTEM
- Thread Scheduling
- Setting the Scope
- pthread_self
- return values, pthread_self Return Values
- syntax, pthread_self Syntax
- pthread_setcancelstate
- return values, pthread_setcancelstate Return Values
- syntax, pthread_setcancelstate Syntax
- pthread_setcanceltype
- return values, pthread_setcanceltype Return Values
- syntax, pthread_setcanceltype Syntax
- pthread_setconcurrency
- return values, pthread_setconcurrency Return Values
- syntax, pthread_setconcurrency Syntax
- pthread_setschedparam
- return values, pthread_setschedparam Return Values
- syntax, pthread_setschedparam Syntax
- pthread_setschedprio
- return values, pthread_setschedprio Return Values
- syntax, pthread_setschedprio Syntax
- pthread_setspecific
- example, Global and Private Thread-Specific Data Example
- return values, pthread_setspecific Return Values
- syntax, pthread_setspecific Syntax
- pthread_sigmask(), Setting the Thread's Signal Mask
- pthread_sigmask
- return values
- pthread_sigmask Return Values
- pthread_atfork Return Values
- syntax, pthread_sigmask Syntax
- pthread_spin_destroy()
- syntax
- pthread_spin_destroy() Syntax
- pthread_spin_destroy() Return Values
- pthread_spin_init, syntax, pthread_spin_init() Syntax
- pthread_spin_lock
- return values, pthread_spin_lock() Return Values
- syntax, pthread_spin_lock() Syntax
- pthread_spin_trylock
- return values, pthread_spin_trylock() Return Values
- syntax, pthread_spin_trylock() Syntax
- pthread_spin_unlock
- return values, pthread_spin_unlock() Return Values
- syntax, pthread_spin_unlock() Syntax
- PTHREAD_STACK_MIN, Building Your Own Stack
- pthread_testcancel, syntax, pthread_testcancel Syntax
- putc, Alternatives to getc and putc
- putc_unlocked, Alternatives to getc and putc
- pwrite, Shared I/O and New I/O System Calls