5.3.    207

 5.8.       
  pthread_cond_t

                       
#include <pthread.h>

int pthread_condattr_init (         
pthread_condattr_t * attr) ; ,   attr, -
,    
 ,  

int pthread_condattr_destroy (      -
pthread_condattr_t * attr); ,   attr.  -
   , -
  pthread_condattr_init ()

int                                  

process-shared   

pthread_condattr_setpshared (    ,   attr. -
  _  _          pshared   

"'int pshared);              :

j_^                              PTHREAD_PROCESS_SHARED

pthread_condattr_getpshared ( (  -, -
const pthread_condattr_t *   ,   -

restrict attr,   ,     -
int *restrict pshared);     ,     -
 );

PTHREAD_PROCESS_PRIVATE
(    -
  )

int pthread_condattr_setclock (     clock
pthread_condattr_t * attr,      , -
clockid_t clock_id) ;           attr.  clock

int pthread_condattr_getclock (    , -
const pthread_condattr_t *      
restrict attr,     pthread_cond_timedwait().

 ockid_t                        clock -

restrict               '     ,
-, , -i>.                          

5.3.4.1.     
 

       -
,    : - (), - (), -
 ()  - ().      -
    .   5.4  5.5  
 -  - .     
.         ,
      .