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

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

PTHREAD_COND_SIGNAL(3)

Contents


NAME    [Toc]    [Back]

     pthread_cond_signal -- unblock a thread waiting for a condition variable

LIBRARY    [Toc]    [Back]

     Reentrant C Library (libc_r, -lc_r)

SYNOPSIS    [Toc]    [Back]

     #include <pthread.h>

     int
     pthread_cond_signal(pthread_cond_t *cond);

DESCRIPTION    [Toc]    [Back]

     The pthread_cond_signal() function unblocks one thread waiting for the
     condition variable cond.

RETURN VALUES    [Toc]    [Back]

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

ERRORS    [Toc]    [Back]

     The pthread_cond_signal() function will fail if:

     [EINVAL]		The value specified by cond is invalid.

SEE ALSO    [Toc]    [Back]

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

STANDARDS    [Toc]    [Back]

     The pthread_cond_signal() 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_broadcast FreeBSD unblock all threads waiting for a condition variable
pthread_cond_broadcast OpenBSD unblock all threads waiting for a 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_signal_int_np Tru64 Wakes one thread that is waiting on the specified condition variable (called from interrupt level on...
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_broadcast Tru64 Wakes all threads that are waiting on the specified condition variable
tis_cond_broadcast Tru64 Wakes all threads that are waiting on the specified condition variable
pthread_cond_wait Tru64 Causes a thread to wait for the specified condition variable to be signaled or broadcasted
tis_cond_timedwait Tru64 Causes a thread to wait for the specified condition variable to be signaled or broadcast, such that ...
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service