1 .TH PTHREAD_CONDATTR 3 LinuxThreads
3 .XREF pthread_condattr_destroy
6 pthread_condattr_init, pthread_condattr_destroy \- condition creation attributes
11 int pthread_condattr_init(pthread_condattr_t *attr);
13 int pthread_condattr_destroy(pthread_condattr_t *attr);
17 Condition attributes can be specified at condition creation time, by passing a
18 condition attribute object as second argument to !pthread_cond_init!(3).
19 Passing !NULL! is equivalent to passing a condition attribute object with
20 all attributes set to their default values.
22 The LinuxThreads implementation supports no attributes for
23 conditions. The functions on condition attributes are included only
24 for compliance with the POSIX standard.
26 !pthread_condattr_init! initializes the condition attribute object
27 |attr| and fills it with default values for the attributes.
28 !pthread_condattr_destroy! destroys a condition attribute object,
29 which must not be reused until it is reinitialized. Both functions do
30 nothing in the LinuxThreads implementation.
33 !pthread_condattr_init! and !pthread_condattr_destroy! always return 0.
36 Xavier Leroy <Xavier.Leroy@inria.fr>
39 !pthread_cond_init!(3).