[Previous] [Contents] [Next]

pthread_condattr_destroy()

Destroy condition variable attribute object

Synopsis:

#include <pthread.h>

int pthread_condattr_destroy(
                        pthread_condattr_t* attr );

Library:

libc

Description:

The pthread_condattr_destroy() function destroys the condition variable attribute object attr. After the condition variable attribute object has been destroyed it shouldn't be reused unless it's reinitialized using pthread_condattr_init().

Returns:

EOK
Success.
EINVAL
Invalid condition variable attribute object attr.

Classification:

POSIX 1003.1 (Threads)

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

pthread_mutexattr_init(), pthread_mutex_init()


[Previous] [Contents] [Next]