382  11.     

int mutex::lock(void)
{

int RetValue;

RetValue = pthread_mufcex_lock(Mutex);

II...

return(ReturnValue) ;

}

                  
pthread_mutex_t *  pthread_mutexattr_t *.  ,   -
 lock(), unlock (), trylock()        ,
         
.    ( ) -
     .    -
  Pthread-      
 pthread_mutex_t.         -
       
.    pthread_inutex_t  pthread_mutexattr_t
  mutex      ,  -
     .

       , 
mutex,     ,   
  . ,       -
     pvm_stream.   -
       , -
  .        -
  PVM-. PVM-    .
     PVM-  
 .   , PVM-,  
  pvm_stream   . 11.1.

,   . 11.1,    , -
      . 
pvm_stream         .   -
      ,      
pvm_stream  .  ,     -
   ,    pvm_stream,   
"".    ,       
pvm_stream     .  
   mutex.  . 11.2    
   x_queue  pvm_stream.

   ,   x_queue   , .. -
  _ queue     .  -
,      x_queue,  
 "" , , ,    . -
, ,          , -
   .   11.3  
 _ queue  .