  561



pthread_cond_broadcast, pthread_cond_signal  
,     .



THR    ftinclude <pthread.h>

int pthread_cond_broadcast (pthread_cond_t *cond) ;

int pthread_cond_signal (pthread_cond_t *cond);



     ,   -
  .

 pthread_con.d_broadcast ()    , -
       , 
 cond.

 pthread_cond_signal ()     
   ,     ,
  cond (  ).    
    ,   
       .   -
,      pthread_cond_broadcast ()
  pthread_cond_signal (),           
pthread_cond_wait ()  pthread_cond_timedwait (),    -
,         pthreacL_cond_wait ()   
pthread_cond_timedwait ().      -
       (   ),  
     pthread_mutex_lock ().

 pthread_cond_broadcast ()  pthread_cond_signal ()   -
 ,  ( )    .   , -
  pthread_cond_wait ()  pthread_cond_timedwait (),  
      . ,   -
  ,      ,
  pthread_cond_broadcast ()  pthread_cond_signal ().

 pthread_cond_broadcast()  pthread_cond_signal  
 ,       , 
   ,   cond.

 

    pthread_cond_broadcast ()  pthread_
cond_signal ()   ;   -  ,
  .