[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs

List of Synchronization Subroutines

pthread_mutex_destroy Deletes a mutex.
pthread_mutex_init Initializes a mutex and sets its attributes.
PTHREAD_MUTEX_INITIALIZER Initializes a static mutex with default attributes.
pthread_mutex_lock or pthread_mutex_trylock
Locks a mutex.
pthread_mutex_unlock Unlocks a mutex.
pthread_mutexattr_destroy Deletes a mutex attributes object.
pthread_mutexattr_init Creates a mutex attributes object and initializes it with default values.
pthread_cond_destroy Deletes a condition variable.
pthread_cond_init Initializes a condition variable and sets its attributes.
PTHREAD_COND_INITIALIZER Initializes a static condition variable with default attributes.
pthread_cond_signal or pthread_cond_broadcast
Unblocks one or more threads blocked on a condition.
pthread_cond_wait or pthread_cond_timedwait
Blocks the calling thread on a condition.
pthread_condattr_destroy Deletes a condition attributes object.
pthread_condattr_init Creates a condition attributes object and initializes it with default values.

Related Information

Synchronization Overview.

Threads Library Quick Reference.


[ Previous | Next | Contents | Glossary | Home | Search ]