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