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);