(3synch) - Synchronization library routines

(3synch) - Synchronization library routines


Intro
introduction to synchronization routines in the Threads Library

intro
introduction to synchronization routines in the Threads Library

barrier: barrier_init, barrier_wait, barrier_destroy, _barrier_spin_init, _barrier_spin, _barrier_spin_destroy
overview of barrier synchronization routines

barrier_destroy
destroy a blocking barrier

barrier_init
initialize a blocking barrier

_barrier_spin
spin-wait at a barrier

_barrier_spin_destroy
destroy a spin type barrier

_barrier_spin_init
initialize a spinning barrier

barrier_wait
wait at a blocking barrier

cond_broadcast
broadcast a wake-up call to all threads waiting on a condition variable

cond_destroy
destroy a condition variable

cond_init
initialize a condition variable

condition: cond_init, cond_signal, cond_broadcast, cond_wait, cond_timedwait, cond_destroy
overview of condition variable routines

cond_signal
wake up a single thread waiting on a condition variable

cond_timedwait
wait on a condition variable for a limited time

cond_wait
wait on a condition variable

mutex_destroy
destroy a mutex

mutex_init
initialize a mutex

mutex_lock
lock a mutex

mutex: mutex_init, mutex_lock, mutex_trylock, mutex_unlock, mutex_destroy
overview of mutual exclusion lock routines

mutex_trylock
conditionally lock a mutex

mutex_unlock
unlock a mutex

rmutex_destroy
destroy a recursive mutex

rmutex_init
initialize a recursive mutex

rmutex_lock
lock a recursive mutex

rmutex: rmutex_init, rmutex_lock, rmutex_trylock, rmutex_unlock, rmutex_destroy
overview of mutual exclusion lock routines

rmutex_trylock
conditionally lock a recursive mutex

rmutex_unlock
unlock a recursive mutex

rwlock_destroy
destroy a reader-writer lock

rwlock_init
initialize a reader-writer lock

rwlock: rwlock_init, rw_rdlock, rw_wrlock, rw_tryrdlock, rw_trywrlock, rw_unlock, rwlock_destroy,
overview of reader-writer lock routines

rw_rdlock
acquire a reader-writer lock in read mode

rw_tryrdlock
conditionally acquire a reader-writer lock in read mode

rw_trywrlock
conditionally acquire a reader-writer lock in write mode

rw_unlock
release a reader-writer lock

rw_wrlock
acquire a reader-writer lock in write mode

sema_destroy
destroy a semaphore

sema_init
initialize a semaphore

semaphore: sema_destroy, sema_init, sema_post, sema_trywait, sema_wait
overview of semaphore routines

sema_post
release a lock by incrementing the count value of the semaphore

sema_trywait
conditionally claim resources under the semaphore's control

sema_wait
acquire a semaphore

_spin_destroy
destroy a spin lock

_spin_init
initialize a spin lock

_spin_lock
lock a spin lock

_spin: _spin_init, _spin_lock, _spin_trylock, _spin_unlock, _spin_destroy
overview of spin lock routines

_spin_trylock
conditionally lock a spin lock

_spin_unlock
unlock a spin lock

synch
introduction to synchronization routines in the Threads Library

Synchronization
introduction to synchronization routines in the Threads Library

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