UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2015 - January 2016

11.4.7.  Attributes:Initialization

As in the mutex, the condition variable you can control the behavior through a new data type called pthread_condattr_t. This allows us to define attributes that may be properly initialized.

 int pthread_condattr_init(pthread_condattr_t *attr);
 int pthread_condattr_destroy(pthread_condattr_t *attr);