Primitive data types for Pthreads

The Pthread types and functions have the following naming conventions. If the type of object is not a thread, object represents the type of object, action is an operation to be performed on the object, np or NP indicates that the name or symbol is a non-portable extension to the API set, and PURPOSE indicates the use or purpose of the symbol.

types
pthread[_object][_np]_t

functions
pthread[_object]_action[_np]

Constants and Macros
PTHREAD_PURPOSE[_NP]

After creating the primitive objects of type pthread_cond_t and pthread_mutex_t using the appropriate initialization functions, those objects must not be copied or moved to a new location. If the condition variable or mutex is copied or moved to a new location, the new primitive object is not valid or usable. Attempts to use the new object result in the EINVAL error.


[ Back to top | Pthread APIs | APIs by category ]