*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> pthread_cond_broadcast (3)              
Title
Content
Arch
Section
 

Contents


PTHREAD_COND_BROADC... FreeBSD Library Functions Manual PTHREAD_COND_BROADC...

NAME    [Toc]    [Back]

     pthread_cond_broadcast -- unblock all threads waiting for a condition
     variable

LIBRARY    [Toc]    [Back]

     Reentrant C Library (libc_r, -lc_r)

SYNOPSIS    [Toc]    [Back]

     #include <pthread.h>

     int
     pthread_cond_broadcast(pthread_cond_t *cond);

DESCRIPTION    [Toc]    [Back]

     The pthread_cond_broadcast() function unblocks all threads waiting for
     the condition variable cond.

RETURN VALUES    [Toc]    [Back]

     If successful, the pthread_cond_broadcast() function will return zero,
     otherwise an error number will be returned to indicate the error.

ERRORS    [Toc]    [Back]

     The pthread_cond_broadcast() function will fail if:

     [EINVAL]		The value specified by cond is invalid.

SEE ALSO    [Toc]    [Back]

      
      
     pthread_cond_destroy(3), pthread_cond_init(3), pthread_cond_signal(3),
     pthread_cond_timedwait(3), pthread_cond_wait(3)

STANDARDS    [Toc]    [Back]

     The pthread_cond_broadcast() function conforms to ISO/IEC 9945-1:1996
     (``POSIX.1'').


FreeBSD 5.2.1			 July 28, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
pthread_cond_signal FreeBSD unblock a thread waiting for a condition variable
pthread_cond_signal OpenBSD unblock a thread waiting for a condition variable
tis_cond_broadcast Tru64 Wakes all threads that are waiting on the specified condition variable
pthread_cond_broadcast Tru64 Wakes all threads that are waiting on the specified condition variable
pthread_cond_signal Tru64 Wakes at least one thread that is waiting on the specified condition variable
tis_cond_signal Tru64 Wakes at least one thread that is waiting on the specified condition variable
pthread_cond_sig_preempt_int_np Tru64 Wakes one thread that is waiting on the specified condition variable (called from interrupt level on...
pthread_cond_signal_int_np Tru64 Wakes one thread that is waiting on the specified condition variable (called from interrupt level on...
thread_wakeup Tru64 General: Wakes up all kernel threads waiting for the specified event
select_dequeue_all Tru64 General: Removes all kernel threads waiting for an event
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service