11.3.    393

11.3.   

      
   ""      -
 ,      . -
, -      
  , FIFO-     ,
 PVM  MPI.      
 (Inter-Process Communication  IPC),  
(Inter-Thread Communication ITC),       
 (Object-to-Object Communicaton  ).    -
      ,    -
    .  ,   -
 ()        , FIFO-
   ,   "" .   -
  -     
    PVM  MPI,    
 ,            -
.       , -
    .    pvm_stream.

//  11.12.   pvm_stream, 
//                  mios

class pvm_stream : public mios{
protected:

int Taskid;

int Messageld;

mutex Mutex;

//. . .
public:

void taskld(int Tid) ;

void messageld(int Mid);

pvm_stream(int Coding = PvmDataDefault);

void reset(int Coding = PvmDataDefault);

pvm_stream &operator(string &Data);

pvm_stream Separator(string &Data);

pvm_stream &operator(int &Data);

pvm_stream &operator(int &Data);

//. . .
};

        -
    PVM-.   ""   ""
        PVM-.
         
   int.      .  
      ,    -
  ""  "".       
pvm_stream   ,      ,  -
  pvm_stream   .     