| | | | |
| C |
| |
| | cache, defined ( ) |
| |
| | caching, threads data structure ( ) |
| |
| | cancellation of thread ( ) |
| |
| | cancelling threads ( ) |
| | | cancellation points ( ) |
| |
| | changing the signal mask ( ) ( ) |
| |
| | circularly-linked list, example ( ) |
| |
| | coarse-grained locking ( ) |
| |
| | code lock ( ) ( ) |
| |
| | code monitor ( ) ( ) |
| |
| | compare thread identifiers ( ) |
| |
| | compiling a multithreaded application ( ) |
| |
| | completion semantics ( ) |
| |
| | cond_broadcast |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | cond_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | cond_init ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| | | USYNC_THREAD ( ) |
| |
| | condition variables ( ) ( ) ( ) |
| | | blocking for specified time ( ) |
| | | blocking on ( ) |
| | | blocking until specified time ( ) |
| | | destroying state ( ) |
| | | getting clock selection ( ) |
| | | getting scope ( ) |
| | | initializing ( ) |
| | | intializing attributes ( ) |
| | | removing attribute ( ) |
| | | setting clock selection ( ) |
| | | setting scope ( ) |
| | | unblocking one thread ( ) |
| | | unblocking threads ( ) |
| |
| | condition wait, POSIX threads ( ) |
| |
| | cond_reltimedwait |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | cond_signal |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | cond_timedwait |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | cond_wait |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | contention ( ) ( ) |
| |
| | continuing execution ( ) |
| |
| | counting semaphores ( ) ( ) |
| |
| | creating |
| | | stacks ( ) ( ) ( ) ( ) |
| | | threads ( ) |
| |
| | creating a default thread ( ) |
| |
| | critical section ( ) |
| |
| | custom stack ( ) ( ) ( ) |
| | | | |
| M |
| |
| | malloc ( ) |
| |
| | MAP_NORESERVE ( ) |
| |
| | MAP_SHARED ( ) |
| |
| | mdb(1) ( ) ( ) |
| |
| | memory |
| | | consistency ( ) |
| | | ordering, relaxed ( ) |
| | | strongly ordered ( ) |
| |
| | mmap ( ) |
| |
| | mmap(2) ( ) |
| |
| | monitor ( ) |
| |
| | monitor, code ( ) |
| |
| | mprotect ( ) |
| |
| | MT-Safe libraries |
| | | alternative mmap(2)-based memory allocation library ( ) |
| | | classic iostreams |
| | | | for C++ ( ) |
| | | C ++ runtime shared objects |
| | | | for C++ 4.0 compiler ( ) |
| | | C++ runtime shared objects |
| | | | for C++ 5.0 compiler ( ) |
| | | C++ standard library |
| | | | for Sun C++ 5.x compilers ( ) |
| | | math library ( ) |
| | | network interfaces of the form getXXbyYY_r ( ) |
| | | socket library for making network connections ( ) |
| | | space-efficient memory allocation ( ) |
| | | thread-safe form of unsafe interfaces ( ) |
| | | thread-specific errno support ( ) |
| | | X11 Windows routines ( ) |
| |
| | multiple-readers, single-writer locks ( ) |
| |
| | multiprocessors ( ) |
| |
| | multithreading, defined ( ) |
| |
| | mutex, defined ( ) |
| |
| | mutex_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | mutex_init ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| | | USYNC_THREAD ( ) |
| |
| | mutex_lock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | mutex, mutual exclusion locks ( ) |
| |
| | mutex scope ( ) |
| |
| | mutex_trylock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | mutex type |
| | | PTHREAD_MUTEX_ERRORCHECK ( ) |
| | | PTHREAD_MUTEX_NORMAL ( ) |
| | | PTHREAD_MUTEX_RECUSIVE ( ) |
| |
| | mutex_unlock ( ) |
| | | return values ( ) |
| |
| | mutual exclusion locks ( ) ( ) |
| | | attributes ( ) |
| | | deadlock ( ) |
| | | default attributes ( ) |
| | | destroying mutex ( ) |
| | | destroying mutex state ( ) |
| | | getting mutex robust attribute ( ) |
| | | getting mutex scope ( ) |
| | | getting priority ceiling of mutex ( ) |
| | | getting priority ceiling of mutex attribute ( ) |
| | | getting protocol of mutex attribute ( ) |
| | | initializing ( ) |
| | | locking ( ) |
| | | making consistent ( ) |
| | | nonblock locking ( ) |
| | | setting mutex robust attribute ( ) |
| | | setting priority ceiling of mutex ( ) |
| | | setting priority ceiling of mutex attribute ( ) |
| | | setting protocol of mutex attribute ( ) |
| | | setting type attribute ( ) |
| | | unlocking ( ) |
| | | | |
| P |
| |
| | parallel, algorithms ( ) |
| |
| | PC, program counter ( ) |
| |
| | PC_GETCID ( ) |
| |
| | PC_GETCLINFO ( ) |
| |
| | PC_GETPARMS ( ) |
| |
| | PC_SETPARMS ( ) |
| |
| | Performance Analyzer ( ) |
| |
| | Peterson's Algorithm ( ) |
| |
| | PL/1 language ( ) |
| |
| | portability ( ) |
| |
| | pread ( ) |
| |
| | printf ( ) |
| | | problem ( ) |
| |
| | priocntl ( ) |
| | | PC_GETCID ( ) |
| | | PC_GETCLINFO ( ) |
| | | PC_SETPARMS ( ) |
| |
| | priocntl() ( ) |
| |
| | priocntl(2), PC_GETPARMS ( ) |
| |
| | priority ( ) |
| | | and scheduling ( ) ( ) |
| | | inheritance ( ) ( ) |
| | | range ( ) |
| | | setting for a thread ( ) |
| |
| | priority inversion ( ) |
| |
| | producer and consumer problem ( ) ( ) ( ) |
| |
| | producer/consumer problem ( ) |
| |
| | profiling ( ) |
| | | multithreaded programs ( ) |
| |
| | programmer-allocated stack ( ) ( ) ( ) |
| |
| | prolagen, decrease semaphore, P operation ( ) |
| |
| | pthread_atfork ( ) |
| | | syntax ( ) ( ) |
| |
| | pthread_attr_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_getdetachstate |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_getguardsize |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_getinheritsched |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_getschedparam |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_getschedpolicy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_getscope |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_getstack |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_getstacksize |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_init |
| | | attribute values ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_setdetachstate |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_setguardsize |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_setinheritsched |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_setschedparam |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_setschedpolicy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_setscope |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_setstack |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_attr_setstacksize |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_barrierattr_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_barrierattr_getpshared, return values ( ) |
| |
| | pthread_barrierattr_init |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_barrierattr_setpshared, return values ( ) |
| |
| | pthread_barrier_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_barrier_init |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_barrier_wait |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_cancel |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_cleanup_pop, syntax ( ) |
| |
| | pthread_cleanup_push, syntax ( ) |
| |
| | pthread_condattr_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_condattr_getclock, return values ( ) |
| |
| | pthread_condattr_getpshared |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_condattr_init |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_condattr_setclock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_condattr_setpshared |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_cond_broadcast ( ) ( ) ( ) |
| | | example ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_cond_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_cond_init |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_cond_reltimedwait_np |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_cond_signal ( ) ( ) ( ) ( ) |
| | | example ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_cond_timedwait |
| | | example ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_cond_wait ( ) ( ) ( ) |
| | | example ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_create |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_detach |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_equal |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_exit |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_getconcurrency |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_getschedparam |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_getspecific, syntax ( ) |
| |
| | pthread_join ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_join(3C) ( ) |
| |
| | pthread_key_create |
| | | example ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_key_delete |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_kill |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_kill() ( ) |
| |
| | pthread_mutexattr_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutexattr_getprioceiling |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutexattr_getprotocol |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutexattr_getpshared |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutexattr_getrobust_np |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutexattr_gettype |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutexattr_init |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutexattr_setprioceiling |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutexattr_setprotocol |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutexattr_setpshared |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutexattr_setrobust_np |
| | | return value ( ) |
| | | syntax ( ) |
| |
| | pthread_mutexattr_settype |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutex_consistent_np |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutex_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutex_getprioceiling |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutex_init |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutex_lock |
| | | example ( ) ( ) ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutex_setprioceiling |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutex_timedlock |
| | | return values ( ) ( ) |
| | | syntax ( ) ( ) |
| |
| | pthread_mutex_trylock ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_mutex_trylock(3C) ( ) |
| |
| | pthread_mutex_unlock |
| | | example ( ) ( ) ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_once |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | PTHREAD_PRIO_INHERIT ( ) |
| |
| | PTHREAD_PRIO_NONE ( ) |
| |
| | PTHREAD_PRIO_PROTECT ( ) |
| |
| | pthread_rwlockattr_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_rwlockattr_getpshared |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_rwlockattr_init |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_rwlockattr_setpshared |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_rwlock_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_rwlock_init |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_rwlock_rdlock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_rwlock_timedrdlock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_rwlock_timedwrlock, syntax ( ) |
| |
| | pthread_rwlock_tryrdlock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_rwlock_trywrlock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_rwlock_unlock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_rwlock_wrlock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | PTHREAD_SCOPE_PROCESS ( ) |
| |
| | PTHREAD_SCOPE_SYSTEM ( ) ( ) |
| |
| | pthread_self |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_setcancelstate |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_setcanceltype |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_setconcurrency |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_setschedparam |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_setschedprio |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_setspecific |
| | | example ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_sigmask |
| | | return values ( ) ( ) |
| | | syntax ( ) |
| |
| | pthread_sigmask() ( ) |
| |
| | pthread_spin_destroy() |
| | | syntax ( ) ( ) |
| |
| | pthread_spin_init, syntax ( ) |
| |
| | pthread_spin_lock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_spin_trylock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | pthread_spin_unlock |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | PTHREAD_STACK_MIN ( ) |
| |
| | pthread_testcancel, syntax ( ) |
| |
| | putc ( ) |
| |
| | putc_unlocked ( ) |
| |
| | pwrite ( ) |
| | | | |
| S |
| |
| | safety, threads interfaces ( ) ( ) |
| |
| | SA_RESTART ( ) |
| |
| | scheduling |
| | | classes ( ) |
| | | policies ( ) |
| | | scopes ( ) |
| | | system class ( ) |
| |
| | scheduling class |
| | | fair share scheduler (FSS) ( ) |
| | | fixed priority scheduler (FX) ( ) |
| | | priority ( ) |
| | | realtime ( ) |
| | | timeshare ( ) |
| |
| | sched_yield ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | scope, state ( ) |
| |
| | sema_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | sema_init |
| | | return values ( ) |
| | | syntax ( ) ( ) |
| | | USYNC_THREAD ( ) |
| |
| | semaphores ( ) ( ) ( ) |
| | | binary ( ) |
| | | blocking calling thread ( ) |
| | | counting ( ) |
| | | counting, defined ( ) |
| | | decrementing count ( ) |
| | | decrement semaphore value ( ) |
| | | destroying state ( ) |
| | | incrementing ( ) |
| | | increment semaphore value ( ) |
| | | initializing ( ) |
| | | interprocess ( ) |
| | | intraprocess ( ) |
| | | named ( ) |
| | | unnamed ( ) |
| |
| | sema_post ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | sema_trywait |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | sema_wait |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | sem_destroy |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | sem_init |
| | | example ( ) |
| | | return values ( ) |
| |
| | sem_post ( ) |
| | | example ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | sem_trywait ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | sem_wait ( ) |
| | | example ( ) |
| | | return values ( ) |
| | | syntax ( ) |
| |
| | sending signal to thread ( ) |
| |
| | sequential algorithms ( ) |
| |
| | setjmp ( ) ( ) ( ) |
| |
| | setting thread-specific key binding ( ) |
| |
| | shared data ( ) ( ) |
| |
| | shared-memory multiprocessor ( ) |
| |
| | sigaction() ( ) ( ) |
| |
| | SIG_DFL ( ) |
| |
| | SIGFPE ( ) ( ) |
| |
| | SIG_IGN ( ) |
| |
| | SIGILL ( ) |
| |
| | SIGINT ( ) ( ) |
| |
| | SIGIO ( ) |
| |
| | siglongjmp ( ) ( ) ( ) |
| |
| | signal |
| | | handler ( ) ( ) |
| |
| | signal() ( ) |
| |
| | signal.h ( ) ( ) |
| |
| | signals |
| | | access mask ( ) |
| | | adding to mask ( ) |
| | | asynchronous ( ) ( ) ( ) |
| | | deleting from mask ( ) |
| | | inheritance ( ) |
| | | masks ( ) |
| | | pending ( ) ( ) |
| | | replacing current mask ( ) |
| | | sending to a thread ( ) |
| | | sending to thread ( ) ( ) |
| | | SIG_BLOCK ( ) |
| | | SIGSEGV ( ) |
| | | SIG_SETMASK ( ) |
| | | SIG_UNBLOCK ( ) |
| | | synchronous ( ) |
| | | unmasked and caught ( ) |
| |
| | sigprocmask() ( ) |
| |
| | sigqueue() ( ) |
| |
| | SIGSEGV ( ) ( ) |
| |
| | sigsend() ( ) |
| |
| | sigsetjmp ( ) ( ) |
| |
| | SIG_SETMASK ( ) |
| |
| | sigtimedwait() ( ) |
| |
| | sigwait ( ) |
| |
| | sigwait() ( ) ( ) |
| |
| | single-threaded |
| | | assumptions ( ) |
| | | code ( ) |
| | | defined ( ) |
| | | processes ( ) |
| |
| | singly-linked list, example ( ) |
| |
| | singly-linked list with nested locking, example ( ) |
| |
| | size of stack ( ) ( ) ( ) ( ) |
| |
| | spin locks, defined ( ) |
| |
| | spurious wakeup ( ) |
| |
| | stack ( ) |
| | | address ( ) ( ) |
| | | boundaries ( ) |
| | | creation ( ) ( ) |
| | | custom ( ) |
| | | deallocation ( ) |
| | | minimum size ( ) |
| | | overflows ( ) |
| | | pointer ( ) |
| | | programmer-allocated ( ) ( ) ( ) |
| | | red zone ( ) ( ) |
| | | returning a pointer to ( ) |
| | | size ( ) ( ) ( ) |
| |
| | stack_base ( ) ( ) |
| |
| | stack_size ( ) ( ) |
| |
| | stack size |
| | | finding minimum ( ) |
| | | minimum ( ) ( ) |
| |
| | standard I/O ( ) |
| |
| | standards, UNIX ( ) |
| |
| | start_routine() ( ) |
| |
| | static storage ( ) |
| |
| | store buffer ( ) |
| |
| | storing thread key value ( ) |
| |
| | streaming a tape drive ( ) |
| |
| | strongly ordered memory ( ) |
| |
| | suspending a new thread ( ) |
| |
| | swap space ( ) |
| |
| | synchronization objects |
| | | condition variables ( ) ( ) ( ) |
| | | mutex locks ( ) ( ) |
| | | read-write locks ( ) |
| | | semaphores ( ) ( ) ( ) ( ) |
| |
| | synchronous I/O ( ) |
| |
| | synchronous I/O ( ) |
| |
| | synchronous signals ( ) |
| |
| | system calls, handling errors ( ) |
| |
| | system scheduling class ( ) |
| | | | |
| U |
| |
| | unbound threads |
| | | caching ( ) |
| | | defined ( ) |
| |
| | user-level threads ( ) ( ) |
| |
| | /usr/include/errno.h ( ) |
| |
| | /usr/include/limits.h ( ) |
| |
| | /usr/include/pthread.h ( ) |
| |
| | /usr/include/signal.h ( ) |
| |
| | /usr/include/thread.h ( ) |
| |
| | /usr/include/unistd.h ( ) |
| |
| | /usr/lib, 32–bit threads library, Solaris 9 ( ) |
| |
| | /usr/lib/lwp, 32-bit threads library, Solaris 8 ( ) |
| |
| | /usr/lib/lwp/64, 64-bit threads library, Solaris 8 ( ) |
| |
| | USYNC_PROCESS ( ) |
| | | condition variable ( ) |
| | | mutex ( ) |
| | | read-write lock ( ) |
| | | semaphore ( ) |
| |
| | USYNC_PROCESS_ROBUST, mutex ( ) |
| |
| | USYNC_THREAD |
| | | condition variable ( ) |
| | | mutex ( ) |
| | | read-write lock ( ) |
| | | semaphore ( ) |