From ad647343f4eed1c064e376a7fa221b1c5af3942c Mon Sep 17 00:00:00 2001 From: markc Date: Wed, 16 Feb 1994 22:07:17 +0000 Subject: [PATCH] Supports PVM version of igen. --- common/h/rpcUtilPVM.h | 27 +++++++++++++++++++++++++++ pdutil/h/rpcUtilPVM.h | 27 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 common/h/rpcUtilPVM.h create mode 100644 pdutil/h/rpcUtilPVM.h diff --git a/common/h/rpcUtilPVM.h b/common/h/rpcUtilPVM.h new file mode 100644 index 0000000..acb0430 --- /dev/null +++ b/common/h/rpcUtilPVM.h @@ -0,0 +1,27 @@ + +#ifndef RPC_UTIL_PVM +#define RPC_UTIL_PVM + +#include + +extern "C" { +#include +} + +class PVMrpc { + public: + PVMrpc(char *where, char *program, char **argv, int flag); + PVMrpc(int other); + PVMrpc(); + void setNonBlock() { ; } + inline int get_error() { return pvm_error;} + inline int get_other_tid() { return other_tid;} + inline void set_other_tid(int set_to) {other_tid = set_to;} + int readReady(); + protected: + int my_tid; + int other_tid; + int pvm_error; +}; + +#endif diff --git a/pdutil/h/rpcUtilPVM.h b/pdutil/h/rpcUtilPVM.h new file mode 100644 index 0000000..acb0430 --- /dev/null +++ b/pdutil/h/rpcUtilPVM.h @@ -0,0 +1,27 @@ + +#ifndef RPC_UTIL_PVM +#define RPC_UTIL_PVM + +#include + +extern "C" { +#include +} + +class PVMrpc { + public: + PVMrpc(char *where, char *program, char **argv, int flag); + PVMrpc(int other); + PVMrpc(); + void setNonBlock() { ; } + inline int get_error() { return pvm_error;} + inline int get_other_tid() { return other_tid;} + inline void set_other_tid(int set_to) {other_tid = set_to;} + int readReady(); + protected: + int my_tid; + int other_tid; + int pvm_error; +}; + +#endif -- 1.8.3.1