Multithreaded Programming Guide
    
Numbers and Symbols
 
 -lposix4 library, POSIX 1003.1 semaphore ( Index Term Link )
 
 32-bit architectures ( Index Term Link )
 
 64-bit environment
  data type model ( Index Term Link )
  /dev/kmem ( Index Term Link )
  /dev/mem ( Index Term Link )
  large file support ( Index Term Link )
  large virtual address space ( Index Term Link )
  libkvm ( Index Term Link )
  libraries ( Index Term Link )
  /proc restrictions ( Index Term Link )
  registers ( Index Term Link )
    
A
 
 accessing the signal mask ( Index Term Link )
 
 Ada ( Index Term Link )
 
 adding signals to mask ( Index Term Link )
 
 aio_cancel() ( Index Term Link )
 
 aiocbp ( Index Term Link )
 
 aio_error() ( Index Term Link )
 
 aio_error() function ( Index Term Link )
 
 aio_read() function ( Index Term Link )
 
 aio_return() ( Index Term Link )
 
 aio_return() function ( Index Term Link )
 
 aio_suspend() function ( Index Term Link )
 
 aio_waitn() function ( Index Term Link )
 
 aio_write() function ( Index Term Link )
 
 alarms ( Index Term Link )
 
 algorithms
  faster with MT ( Index Term Link )
  parallel ( Index Term Link )
  sequential ( Index Term Link )
 
 allocating storage from heap, malloc ( Index Term Link )
 
 application-level threads ( Index Term Link )
 
 architecture
  multiprocessor ( Index Term Link )
  SPARC ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 assert statement ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 asynchronous
  event notification ( Index Term Link )
  I/O ( Index Term Link ) ( Index Term Link )
  semaphore use ( Index Term Link )
  signals ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 asynchronous I/O
  operations ( Index Term Link )
   waiting for ( Index Term Link )
 
 Async-Signal-Safe
  signal handlers ( Index Term Link )
  functions
   POSIX ( Index Term Link )
   Solaris ( Index Term Link )
  threads ( Index Term Link )
 
 atomic, defined ( Index Term Link )
 
 automatic, stack allocation ( Index Term Link )
    
B
 
 barrier synchronization ( Index Term Link ) ( Index Term Link )
 
 binary semaphores ( Index Term Link )
 
 binding
  threads to LWPs ( Index Term Link )
  values to key ( Index Term Link )
 
 bottlenecks ( Index Term Link )
 
 bound threads ( Index Term Link )
  defined ( Index Term Link )
    
C
 
 cache, defined ( Index Term Link )
 
 caching, threads data structure ( Index Term Link )
 
 cancellation of thread ( Index Term Link )
 
 cancelling threads ( Index Term Link )
  cancellation points ( Index Term Link )
 
 changing the signal mask ( Index Term Link ) ( Index Term Link )
 
 circularly-linked list, example ( Index Term Link )
 
 coarse-grained locking ( Index Term Link )
 
 code lock ( Index Term Link ) ( Index Term Link )
 
 code monitor ( Index Term Link ) ( Index Term Link )
 
 compare thread identifiers ( Index Term Link )
 
 compiling a multithreaded application ( Index Term Link )
 
 completion semantics ( Index Term Link )
 
 cond_broadcast
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 cond_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 cond_init ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
  USYNC_THREAD ( Index Term Link )
 
 condition variables ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  blocking for specified time ( Index Term Link )
  blocking on ( Index Term Link )
  blocking until specified time ( Index Term Link )
  destroying state ( Index Term Link )
  getting clock selection ( Index Term Link )
  getting scope ( Index Term Link )
  initializing ( Index Term Link )
  intializing attributes ( Index Term Link )
  removing attribute ( Index Term Link )
  setting clock selection ( Index Term Link )
  setting scope ( Index Term Link )
  unblocking one thread ( Index Term Link )
  unblocking threads ( Index Term Link )
 
 condition wait, POSIX threads ( Index Term Link )
 
 cond_reltimedwait
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 cond_signal
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 cond_timedwait
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 cond_wait
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 contention ( Index Term Link ) ( Index Term Link )
 
 continuing execution ( Index Term Link )
 
 counting semaphores ( Index Term Link ) ( Index Term Link )
 
 creating
  stacks ( Index Term Link ) ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  threads ( Index Term Link )
 
 creating a default thread ( Index Term Link )
 
 critical section ( Index Term Link )
 
 custom stack ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
    
D
 
 daemon threads ( Index Term Link )
 
 data
  lock ( Index Term Link ) ( Index Term Link )
  races ( Index Term Link )
  shared ( Index Term Link ) ( Index Term Link )
  thread-specific ( Index Term Link )
 
 data race ( Index Term Link )
 
 data races ( Index Term Link )
 
 dbx ( Index Term Link )
 
 dbx(1) ( Index Term Link )
 
 deadlock
  defined ( Index Term Link )
  detecting ( Index Term Link )
  recursive ( Index Term Link )
  scheduling ( Index Term Link )
 
 debugging ( Index Term Link )
  asynchronous signals ( Index Term Link )
  dbx ( Index Term Link )
  dbx(1) ( Index Term Link )
  deadlocks ( Index Term Link )
  dtrace ( Index Term Link )
  hidden gap in synchronization ( Index Term Link )
  inadequate stack size ( Index Term Link )
  large automatic arrays ( Index Term Link )
  long-jumping without releasing mutex lock ( Index Term Link )
  mdb(1) ( Index Term Link )
  no synchronization of global memory ( Index Term Link )
  passing pointer to caller's stack ( Index Term Link )
  recursive deadlock ( Index Term Link )
  reevaluate conditions after return from condition wait ( Index Term Link )
 
 deleting signals from mask ( Index Term Link )
 
 destroying an existing thread-specific data key ( Index Term Link )
 
 detached threads ( Index Term Link ) ( Index Term Link )
 
 Dijkstra, E. W. ( Index Term Link )
 
 dispatching priority ( Index Term Link )
 
 dispatch priority, calculation ( Index Term Link )
 
 DTrace ( Index Term Link )
    
E
 
 errno ( Index Term Link ) ( Index Term Link )
  global variables ( Index Term Link )
 
 event notification ( Index Term Link )
 
 examining the signal mask ( Index Term Link ) ( Index Term Link )
 
 example, thread pool ( Index Term Link )
 
 exec ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 exit ( Index Term Link ) ( Index Term Link )
    
F
 
 fair share scheduler (FSS) scheduling class ( Index Term Link )
 
 finding thread priority ( Index Term Link )
 
 fine-grained locking ( Index Term Link )
 
 fixed priority scheduling class (FX) ( Index Term Link )
 
 flags to thr_create ( Index Term Link )
 
 flockfile ( Index Term Link )
 
 fork ( Index Term Link )
 
 fork1 ( Index Term Link ) ( Index Term Link )
 
 funlockfile ( Index Term Link )
    
G
 
 getc ( Index Term Link )
 
 getc_unlocked ( Index Term Link )
 
 gethostbyname ( Index Term Link )
 
 gethostbyname_r ( Index Term Link )
 
 getrusage ( Index Term Link )
 
 getting thread-specific key binding ( Index Term Link )
 
 global
  data ( Index Term Link )
  side effects ( Index Term Link )
  state ( Index Term Link )
  variables ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
    
I
 
 inheriting priority ( Index Term Link )
 
 initializing the mutex ( Index Term Link )
 
 interrupt ( Index Term Link )
 
 invariants ( Index Term Link ) ( Index Term Link )
 
 I/O
  asynchronous ( Index Term Link ) ( Index Term Link )
  nonsequential ( Index Term Link )
  standard ( Index Term Link )
  synchronous ( Index Term Link )
    
J
 
 joining threads ( Index Term Link ) ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
    
K
 
 key, binding value to key ( Index Term Link )
 
 keys, storing value of ( Index Term Link )
 
 kill() ( Index Term Link ) ( Index Term Link )
    
L
 
 libc ( Index Term Link ) ( Index Term Link )
 
 libC ( Index Term Link )
 
 libCrun ( Index Term Link )
 
 libCstd ( Index Term Link )
 
 libiostream ( Index Term Link )
 
 libm ( Index Term Link )
 
 libmalloc ( Index Term Link )
 
 libmapmalloc ( Index Term Link )
 
 libnsl ( Index Term Link )
 
 libpthread ( Index Term Link )
 
 libpthread ( Index Term Link )
 
 libraries, MT-Safe ( Index Term Link )
 
 library, C routines ( Index Term Link )
 
 libresolv ( Index Term Link )
 
 libsocket ( Index Term Link )
 
 libthread ( Index Term Link )
 
 libthread ( Index Term Link )
 
 libX11 ( Index Term Link )
 
 lightweight processes
  debugging ( Index Term Link )
  defined ( Index Term Link )
  scheduling classes ( Index Term Link )
 
 limits, resources ( Index Term Link )
 
 local variable ( Index Term Link )
 
 lock hierarchy ( Index Term Link )
 
 locking ( Index Term Link )
  coarse grained ( Index Term Link ) ( Index Term Link )
  code ( Index Term Link )
  conditional ( Index Term Link )
  data ( Index Term Link )
  fine-grained ( Index Term Link ) ( Index Term Link )
  guidelines ( Index Term Link ) ( Index Term Link )
  invariants ( Index Term Link )
 
 locks ( Index Term Link )
  mutual exclusion ( Index Term Link ) ( Index Term Link )
  readers/writer ( Index Term Link )
  read-write ( Index Term Link )
 
 longjmp ( Index Term Link ) ( Index Term Link )
 
 lost wake-up ( Index Term Link )
 
 lseek(2) ( Index Term Link )
 
 LWP, defined ( Index Term Link )
    
M
 
 malloc ( Index Term Link )
 
 MAP_NORESERVE ( Index Term Link )
 
 MAP_SHARED ( Index Term Link )
 
 mdb(1) ( Index Term Link ) ( Index Term Link )
 
 memory
  consistency ( Index Term Link )
  ordering, relaxed ( Index Term Link )
  strongly ordered ( Index Term Link )
 
 mmap ( Index Term Link )
 
 mmap(2) ( Index Term Link )
 
 monitor ( Index Term Link )
 
 monitor, code ( Index Term Link )
 
 mprotect ( Index Term Link )
 
 MT-Safe libraries
  alternative mmap(2)-based memory allocation library ( Index Term Link )
  classic iostreams
   for C++ ( Index Term Link )
  C ++ runtime shared objects
   for C++ 4.0 compiler ( Index Term Link )
  C++ runtime shared objects
   for C++ 5.0 compiler ( Index Term Link )
  C++ standard library
   for Sun C++ 5.x compilers ( Index Term Link )
  math library ( Index Term Link )
  network interfaces of the form getXXbyYY_r ( Index Term Link )
  socket library for making network connections ( Index Term Link )
  space-efficient memory allocation ( Index Term Link )
  thread-safe form of unsafe interfaces ( Index Term Link )
  thread-specific errno support ( Index Term Link )
  X11 Windows routines ( Index Term Link )
 
 multiple-readers, single-writer locks ( Index Term Link )
 
 multiprocessors ( Index Term Link )
 
 multithreading, defined ( Index Term Link )
 
 mutex, defined ( Index Term Link )
 
 mutex_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 mutex_init ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
  USYNC_THREAD ( Index Term Link )
 
 mutex_lock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 mutex, mutual exclusion locks ( Index Term Link )
 
 mutex scope ( Index Term Link )
 
 mutex_trylock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 mutex type
  PTHREAD_MUTEX_ERRORCHECK ( Index Term Link )
  PTHREAD_MUTEX_NORMAL ( Index Term Link )
  PTHREAD_MUTEX_RECUSIVE ( Index Term Link )
 
 mutex_unlock ( Index Term Link )
  return values ( Index Term Link )
 
 mutual exclusion locks ( Index Term Link ) ( Index Term Link )
  attributes ( Index Term Link )
  deadlock ( Index Term Link )
  default attributes ( Index Term Link )
  destroying mutex ( Index Term Link )
  destroying mutex state ( Index Term Link )
  getting mutex robust attribute ( Index Term Link )
  getting mutex scope ( Index Term Link )
  getting priority ceiling of mutex ( Index Term Link )
  getting priority ceiling of mutex attribute ( Index Term Link )
  getting protocol of mutex attribute ( Index Term Link )
  initializing ( Index Term Link )
  locking ( Index Term Link )
  making consistent ( Index Term Link )
  nonblock locking ( Index Term Link )
  setting mutex robust attribute ( Index Term Link )
  setting priority ceiling of mutex ( Index Term Link )
  setting priority ceiling of mutex attribute ( Index Term Link )
  setting protocol of mutex attribute ( Index Term Link )
  setting type attribute ( Index Term Link )
  unlocking ( Index Term Link )
    
N
 
 NDEBUG ( Index Term Link )
 
 netdir ( Index Term Link )
 
 netselect ( Index Term Link )
 
 nice value and class priority ( Index Term Link )
 
 nonsequential I/O ( Index Term Link )
 
 null
  threads ( Index Term Link ) ( Index Term Link )
 
 null procedures
  libpthread stub ( Index Term Link )
  libthread stub ( Index Term Link )
 
 null threads ( Index Term Link )
    
P
 
 parallel, algorithms ( Index Term Link )
 
 PC, program counter ( Index Term Link )
 
 PC_GETCID ( Index Term Link )
 
 PC_GETCLINFO ( Index Term Link )
 
 PC_GETPARMS ( Index Term Link )
 
 PC_SETPARMS ( Index Term Link )
 
 Performance Analyzer ( Index Term Link )
 
 Peterson's Algorithm ( Index Term Link )
 
 PL/1 language ( Index Term Link )
 
 portability ( Index Term Link )
 
 pread ( Index Term Link )
 
 printf ( Index Term Link )
  problem ( Index Term Link )
 
 priocntl ( Index Term Link )
  PC_GETCID ( Index Term Link )
  PC_GETCLINFO ( Index Term Link )
  PC_SETPARMS ( Index Term Link )
 
 priocntl() ( Index Term Link )
 
 priocntl(2), PC_GETPARMS ( Index Term Link )
 
 priority ( Index Term Link )
  and scheduling ( Index Term Link ) ( Index Term Link )
  inheritance ( Index Term Link ) ( Index Term Link )
  range ( Index Term Link )
  setting for a thread ( Index Term Link )
 
 priority inversion ( Index Term Link )
 
 producer and consumer problem ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 producer/consumer problem ( Index Term Link )
 
 profiling ( Index Term Link )
  multithreaded programs ( Index Term Link )
 
 programmer-allocated stack ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 prolagen, decrease semaphore, P operation ( Index Term Link )
 
 pthread_atfork ( Index Term Link )
  syntax ( Index Term Link ) ( Index Term Link )
 
 pthread_attr_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_getdetachstate
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_getguardsize
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_getinheritsched
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_getschedparam
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_getschedpolicy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_getscope
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_getstack
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_getstacksize
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_init
  attribute values ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_setdetachstate
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_setguardsize
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_setinheritsched
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_setschedparam
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_setschedpolicy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_setscope
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_setstack
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_attr_setstacksize
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_barrierattr_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_barrierattr_getpshared, return values ( Index Term Link )
 
 pthread_barrierattr_init
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_barrierattr_setpshared, return values ( Index Term Link )
 
 pthread_barrier_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_barrier_init
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_barrier_wait
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_cancel
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_cleanup_pop, syntax ( Index Term Link )
 
 pthread_cleanup_push, syntax ( Index Term Link )
 
 pthread_condattr_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_condattr_getclock, return values ( Index Term Link )
 
 pthread_condattr_getpshared
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_condattr_init
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_condattr_setclock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_condattr_setpshared
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_cond_broadcast ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  example ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_cond_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_cond_init
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_cond_reltimedwait_np
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_cond_signal ( Index Term Link ) ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  example ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_cond_timedwait
  example ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_cond_wait ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  example ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_create
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_detach
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_equal
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_exit
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_getconcurrency
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_getschedparam
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_getspecific, syntax ( Index Term Link )
 
 pthread_join ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_join(3C) ( Index Term Link )
 
 pthread_key_create
  example ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_key_delete
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_kill
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_kill() ( Index Term Link )
 
 pthread_mutexattr_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutexattr_getprioceiling
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutexattr_getprotocol
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutexattr_getpshared
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutexattr_getrobust_np
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutexattr_gettype
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutexattr_init
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutexattr_setprioceiling
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutexattr_setprotocol
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutexattr_setpshared
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutexattr_setrobust_np
  return value ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutexattr_settype
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutex_consistent_np
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutex_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutex_getprioceiling
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutex_init
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutex_lock
  example ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutex_setprioceiling
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutex_timedlock
  return values ( Index Term Link ) ( Index Term Link )
  syntax ( Index Term Link ) ( Index Term Link )
 
 pthread_mutex_trylock ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_mutex_trylock(3C) ( Index Term Link )
 
 pthread_mutex_unlock
  example ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_once
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 PTHREAD_PRIO_INHERIT ( Index Term Link )
 
 PTHREAD_PRIO_NONE ( Index Term Link )
 
 PTHREAD_PRIO_PROTECT ( Index Term Link )
 
 pthread_rwlockattr_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_rwlockattr_getpshared
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_rwlockattr_init
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_rwlockattr_setpshared
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_rwlock_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_rwlock_init
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_rwlock_rdlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_rwlock_timedrdlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_rwlock_timedwrlock, syntax ( Index Term Link )
 
 pthread_rwlock_tryrdlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_rwlock_trywrlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_rwlock_unlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_rwlock_wrlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 PTHREAD_SCOPE_PROCESS ( Index Term Link )
 
 PTHREAD_SCOPE_SYSTEM ( Index Term Link ) ( Index Term Link )
 
 pthread_self
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_setcancelstate
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_setcanceltype
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_setconcurrency
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_setschedparam
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_setschedprio
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_setspecific
  example ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_sigmask
  return values ( Index Term Link ) ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_sigmask() ( Index Term Link )
 
 pthread_spin_destroy()
  syntax ( Index Term Link ) ( Index Term Link )
 
 pthread_spin_init, syntax ( Index Term Link )
 
 pthread_spin_lock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_spin_trylock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 pthread_spin_unlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 PTHREAD_STACK_MIN ( Index Term Link )
 
 pthread_testcancel, syntax ( Index Term Link )
 
 putc ( Index Term Link )
 
 putc_unlocked ( Index Term Link )
 
 pwrite ( Index Term Link )
    
R
 
 _r ( Index Term Link )
 
 read ( Index Term Link )
 
 readers/writer locks ( Index Term Link )
 
 read-write locks ( Index Term Link )
  acquiring read lock ( Index Term Link )
  acquiring write lock ( Index Term Link )
  attributes ( Index Term Link )
  destroying ( Index Term Link )
  destroying lock attribute ( Index Term Link )
  getting lock attribute ( Index Term Link )
  initializing lock ( Index Term Link ) ( Index Term Link )
  locking read lock ( Index Term Link )
  locking write lock ( Index Term Link )
  releasing read lock ( Index Term Link )
  setting lock attribute ( Index Term Link )
 
 realtime, scheduling ( Index Term Link )
 
 red zone ( Index Term Link ) ( Index Term Link )
 
 reentrant ( Index Term Link )
  described ( Index Term Link )
  functions ( Index Term Link ) ( Index Term Link )
  strategies for making ( Index Term Link )
 
 register state ( Index Term Link )
 
 relaxed memory ordering ( Index Term Link )
 
 remote procedure call RPC ( Index Term Link )
 
 replacing signal mask ( Index Term Link )
 
 resuming execution ( Index Term Link ) ( Index Term Link )
 
 RPC ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 RT,, See realtime
 
 rwlock_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 rwlock_init
  return values ( Index Term Link )
  syntax ( Index Term Link )
  USYNC_THREAD ( Index Term Link )
 
 rw_rdlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 rw_tryrdlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 rw_trywrlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 rw_unlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 rw_wrlock
  return values ( Index Term Link )
  syntax ( Index Term Link )
    
S
 
 safety, threads interfaces ( Index Term Link ) ( Index Term Link )
 
 SA_RESTART ( Index Term Link )
 
 scheduling
  classes ( Index Term Link )
  policies ( Index Term Link )
  scopes ( Index Term Link )
  system class ( Index Term Link )
 
 scheduling class
  fair share scheduler (FSS) ( Index Term Link )
  fixed priority scheduler (FX) ( Index Term Link )
  priority ( Index Term Link )
  realtime ( Index Term Link )
  timeshare ( Index Term Link )
 
 sched_yield ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 scope, state ( Index Term Link )
 
 sema_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 sema_init
  return values ( Index Term Link )
  syntax ( Index Term Link ) ( Index Term Link )
  USYNC_THREAD ( Index Term Link )
 
 semaphores ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  binary ( Index Term Link )
  blocking calling thread ( Index Term Link )
  counting ( Index Term Link )
  counting, defined ( Index Term Link )
  decrementing count ( Index Term Link )
  decrement semaphore value ( Index Term Link )
  destroying state ( Index Term Link )
  incrementing ( Index Term Link )
  increment semaphore value ( Index Term Link )
  initializing ( Index Term Link )
  interprocess ( Index Term Link )
  intraprocess ( Index Term Link )
  named ( Index Term Link )
  unnamed ( Index Term Link )
 
 sema_post ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 sema_trywait
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 sema_wait
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 sem_destroy
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 sem_init
  example ( Index Term Link )
  return values ( Index Term Link )
 
 sem_post ( Index Term Link )
  example ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 sem_trywait ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 sem_wait ( Index Term Link )
  example ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 sending signal to thread ( Index Term Link )
 
 sequential algorithms ( Index Term Link )
 
 setjmp ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 setting thread-specific key binding ( Index Term Link )
 
 shared data ( Index Term Link ) ( Index Term Link )
 
 shared-memory multiprocessor ( Index Term Link )
 
 sigaction() ( Index Term Link ) ( Index Term Link )
 
 SIG_DFL ( Index Term Link )
 
 SIGFPE ( Index Term Link ) ( Index Term Link )
 
 SIG_IGN ( Index Term Link )
 
 SIGILL ( Index Term Link )
 
 SIGINT ( Index Term Link ) ( Index Term Link )
 
 SIGIO ( Index Term Link )
 
 siglongjmp ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 signal
  handler ( Index Term Link ) ( Index Term Link )
 
 signal() ( Index Term Link )
 
 signal.h ( Index Term Link ) ( Index Term Link )
 
 signals
  access mask ( Index Term Link )
  adding to mask ( Index Term Link )
  asynchronous ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  deleting from mask ( Index Term Link )
  inheritance ( Index Term Link )
  masks ( Index Term Link )
  pending ( Index Term Link ) ( Index Term Link )
  replacing current mask ( Index Term Link )
  sending to a thread ( Index Term Link )
  sending to thread ( Index Term Link ) ( Index Term Link )
  SIG_BLOCK ( Index Term Link )
  SIGSEGV ( Index Term Link )
  SIG_SETMASK ( Index Term Link )
  SIG_UNBLOCK ( Index Term Link )
  synchronous ( Index Term Link )
  unmasked and caught ( Index Term Link )
 
 sigprocmask() ( Index Term Link )
 
 sigqueue() ( Index Term Link )
 
 SIGSEGV ( Index Term Link ) ( Index Term Link )
 
 sigsend() ( Index Term Link )
 
 sigsetjmp ( Index Term Link ) ( Index Term Link )
 
 SIG_SETMASK ( Index Term Link )
 
 sigtimedwait() ( Index Term Link )
 
 sigwait ( Index Term Link )
 
 sigwait() ( Index Term Link ) ( Index Term Link )
 
 single-threaded
  assumptions ( Index Term Link )
  code ( Index Term Link )
  defined ( Index Term Link )
  processes ( Index Term Link )
 
 singly-linked list, example ( Index Term Link )
 
 singly-linked list with nested locking, example ( Index Term Link )
 
 size of stack ( Index Term Link ) ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 spin locks, defined ( Index Term Link )
 
 spurious wakeup ( Index Term Link )
 
 stack ( Index Term Link )
  address ( Index Term Link ) ( Index Term Link )
  boundaries ( Index Term Link )
  creation ( Index Term Link ) ( Index Term Link )
  custom ( Index Term Link )
  deallocation ( Index Term Link )
  minimum size ( Index Term Link )
  overflows ( Index Term Link )
  pointer ( Index Term Link )
  programmer-allocated ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  red zone ( Index Term Link ) ( Index Term Link )
  returning a pointer to ( Index Term Link )
  size ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 stack_base ( Index Term Link ) ( Index Term Link )
 
 stack_size ( Index Term Link ) ( Index Term Link )
 
 stack size
  finding minimum ( Index Term Link )
  minimum ( Index Term Link ) ( Index Term Link )
 
 standard I/O ( Index Term Link )
 
 standards, UNIX ( Index Term Link )
 
 start_routine() ( Index Term Link )
 
 static storage ( Index Term Link )
 
 store buffer ( Index Term Link )
 
 storing thread key value ( Index Term Link )
 
 streaming a tape drive ( Index Term Link )
 
 strongly ordered memory ( Index Term Link )
 
 suspending a new thread ( Index Term Link )
 
 swap space ( Index Term Link )
 
 synchronization objects
  condition variables ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  mutex locks ( Index Term Link ) ( Index Term Link )
  read-write locks ( Index Term Link )
  semaphores ( Index Term Link ) ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 synchronous I/O ( Index Term Link )
 
 synchronous I/O ( Index Term Link )
 
 synchronous signals ( Index Term Link )
 
 system calls, handling errors ( Index Term Link )
 
 system scheduling class ( Index Term Link )
    
T
 
 tape drive, streaming ( Index Term Link )
 
 THR_BOUND ( Index Term Link )
 
 thr_continue ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 thr_create ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 THR_DAEMON ( Index Term Link )
 
 THR_DETACHED ( Index Term Link )
 
 Thread Analyzer ( Index Term Link )
 
 thread create, exit status ( Index Term Link )
 
 thread-directed signal ( Index Term Link )
 
 thread identifier ( Index Term Link )
 
 thread lifecycle ( Index Term Link )
 
 thread local storage ( Index Term Link )
 
 thread pool, defined ( Index Term Link )
 
 thread-private storage ( Index Term Link )
 
 threads
  acquiring identifiers ( Index Term Link )
  cancelling ( Index Term Link ) ( Index Term Link )
  creating ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  daemon ( Index Term Link )
  detached ( Index Term Link ) ( Index Term Link )
  identifiers ( Index Term Link ) ( Index Term Link )
  joining ( Index Term Link )
  key ( Index Term Link )
  null ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  priority ( Index Term Link )
  safety ( Index Term Link ) ( Index Term Link )
  sending signal to ( Index Term Link )
  signals ( Index Term Link )
  stack ( Index Term Link )
  suspended ( Index Term Link )
  suspending ( Index Term Link )
  synchronization models ( Index Term Link )
  synchronizing ( Index Term Link ) ( Index Term Link )
  terminating ( Index Term Link ) ( Index Term Link )
  thread-specific data ( Index Term Link )
  user-level ( Index Term Link ) ( Index Term Link )
  yielding execution ( Index Term Link )
 
 threads defined ( Index Term Link )
 
 thread-specific data ( Index Term Link )
  example ( Index Term Link )
  getting ( Index Term Link )
  global into private ( Index Term Link )
  new storage class ( Index Term Link )
  setting ( Index Term Link )
 
 thread-specific keys
  creating ( Index Term Link ) ( Index Term Link )
 
 thread synchronization
  condition variables ( Index Term Link )
  mutex locks ( Index Term Link )
  mutual exclusion locks ( Index Term Link )
  read/write locks ( Index Term Link )
  read-write locks ( Index Term Link )
  semaphores ( Index Term Link ) ( Index Term Link )
 
 thr_exit ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 thr_getprio
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 thr_getspecific
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 thr_join
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 thr_keycreate
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 thr_kill ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 thr_min_stack ( Index Term Link ) ( Index Term Link )
 
 thr_self, syntax ( Index Term Link )
 
 thr_setprio
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 thr_setspecific
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 thr_sigsetmask ( Index Term Link )
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 thr_suspend
  return values ( Index Term Link )
  syntax ( Index Term Link )
 
 thr_yield, syntax ( Index Term Link )
 
 time-out, example ( Index Term Link )
 
 timer, per LWP ( Index Term Link )
 
 timeshare scheduling class ( Index Term Link )
 
 TLI ( Index Term Link )
 
 tools
  dbx ( Index Term Link )
  dbx(1) ( Index Term Link )
  Dtrace ( Index Term Link )
  mdb(1) ( Index Term Link )
  Performance Analyzer ( Index Term Link )
  Thread Analyzer ( Index Term Link )
 
 total store order ( Index Term Link )
 
 trap ( Index Term Link )
  default action ( Index Term Link )
  handled by thread ( Index Term Link )
 
 TS, See timeshare scheduling class
    
U
 
 unbound threads
  caching ( Index Term Link )
  defined ( Index Term Link )
 
 user-level threads ( Index Term Link ) ( Index Term Link )
 
 /usr/include/errno.h ( Index Term Link )
 
 /usr/include/limits.h ( Index Term Link )
 
 /usr/include/pthread.h ( Index Term Link )
 
 /usr/include/signal.h ( Index Term Link )
 
 /usr/include/thread.h ( Index Term Link )
 
 /usr/include/unistd.h ( Index Term Link )
 
 /usr/lib, 32–bit threads library, Solaris 9 ( Index Term Link )
 
 /usr/lib/lwp, 32-bit threads library, Solaris 8 ( Index Term Link )
 
 /usr/lib/lwp/64, 64-bit threads library, Solaris 8 ( Index Term Link )
 
 USYNC_PROCESS ( Index Term Link )
  condition variable ( Index Term Link )
  mutex ( Index Term Link )
  read-write lock ( Index Term Link )
  semaphore ( Index Term Link )
 
 USYNC_PROCESS_ROBUST, mutex ( Index Term Link )
 
 USYNC_THREAD
  condition variable ( Index Term Link )
  mutex ( Index Term Link )
  read-write lock ( Index Term Link )
  semaphore ( Index Term Link )
    
V
 
 variables
  condition ( Index Term Link ) ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
  global ( Index Term Link )
  primitive ( Index Term Link )
 
 verhogen, increase semaphore, V operation ( Index Term Link )
 
 vfork ( Index Term Link )
    
W
 
 write(2) ( Index Term Link )
    
X
 
 XDR ( Index Term Link )