  623

PTHREAD_MUTEX_DEFAULT

        -
 .   ,   -
 ,    .  
      . -
           .

 

    pthread_mutexattr_gettype () -
       type,    a t tr,
 ,   type;      
,   .

    pthread_mutexattr_settype () -
  ;      ,   .



 pthread_mutexattr_settype ()  , :

[EINVAL]          ,   type, .

 pthread_mutexattr_gettype()  pthread_mutexattr_settype ()
  , :

[EINVAL]           ,   attr, .
      [EINTR].



.

  

       PTHREAD_MU-
TEX_RECURSIVE   ,   , -
   pthread_cond_timedwait ()  pthread_cond_wait (), -
      (    -
).   ,       -
 .

 

.

 

.