  605

 pthread_mutex_lock ()   , :

[ EDEADLK ]             .

 pthread_mutex_unlock ()   , :

[ EPERM]               .
      [EINTR].



.

  

.

 

        ,  -
       . 
     .

   ,  ,   
       -
      .

,         
 ,       
 . ( "" ,   -
         ,
       . ,  -
      pthread_sel? ().)
       
     .

     ,    
,       .

 ,       (ID)
 ,      ID   
 ,      . 
     mutex_tryunlock.

 

.

 

pthread_mutex_destroy (), pthread_mutex_timedlock (),  Base Definitions
 IEEE Std 1003.1-2001, <pthread.h>.