• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2   Define the protocol structure to be used by NetPIPE for PVM.
3   */
4 
5 typedef struct protocolstruct ProtocolStruct;
6 
7 struct protocolstruct
8 {
9     /* Keep track of our task id */
10     int     mytid;
11 
12     /* Keep track of the other's task id */
13     int     othertid;
14 };
15 
16 
17 /*
18   Undefine one of the following to determine the type of data
19   encoding for the PVM message passing.
20 
21   DataDefault means that PVM uses XDR encoding which ensures that
22   the data can be packed / unpacked across non-homogeneous machines.
23 
24   If you know that the machines are the same, then you can use DataRaw
25   and save some time.
26 
27   DataInPlace means that the data is not copied at pack time, but is
28   copied directly from memory at send time.
29   */
30 
31 #define PVMDATA     PvmDataDefault
32 /* #define PVMDATA     PvmDataRaw */
33 /* #define PVMDATA     PvmDataInPlace */
34