Интерактивная система просмотра системных руководств (man-ов)
pthread_cond_destroy (3)
>> pthread_cond_destroy (3) ( FreeBSD man: Библиотечные вызовы ) pthread_cond_destroy (3) ( POSIX man: Библиотечные вызовы )
BSD mandoc
NAME
pthread_cond_destroy
- destroy a condition variable
LIBRARY
Lb libpthread
SYNOPSIS
#include <pthread.h>
int
pthread_cond_destroy (pthread_cond_t *cond);
DESCRIPTION
The
pthread_cond_destroy ();
function frees the resources allocated by the condition variable
Fa cond .
RETURN VALUES
If successful, the
pthread_cond_destroy ();
function will return zero, otherwise an error number will be returned
to indicate the error.
ERRORS
The
pthread_cond_destroy ();
function will fail if:
- Bq Er EINVAL
-
The value specified by
Fa cond
is invalid.
- Bq Er EBUSY
-
The variable
Fa cond
is locked by another thread.
SEE ALSO
pthread_cond_broadcast3,
pthread_cond_init3,
pthread_cond_signal3,
pthread_cond_timedwait3,
pthread_cond_wait3
STANDARDS
The
pthread_cond_destroy ();
function conforms to
St -p1003.1-96 .
Index
- NAME
-
- LIBRARY
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUES
-
- ERRORS
-
- SEE ALSO
-
- STANDARDS
-