PVM.buffers {rpvm} | R Documentation |
Get or set the id of the active send/receive buffer.
.PVM.getsbuf () .PVM.getrbuf () .PVM.setsbuf (bufid) .PVM.setrbuf (bufid)
bufid |
integer message buffer id |
The function .PVM.getsbuf
returns the id of the active send
buffer or 0 if no current buffer.
The function .PVM.getrbuf
returns the id of the active receive
buffer or 0 if no current buffer.
The function .PVM.setrbuf
switches the active receive buffer to
bufid
and saves the previous active receive buffer and returns
its id. If bufid
is set to 0, the present active receive
buffer is saved and no active receive buffer exists.
The function .PVM.setsbuf
switches the active send buffer to
bufid
and saves the previous active send buffer and returns its
id. If bufid
is set to 0, the present active send buffer is
saved and no active send buffer exists.
The set
functions are required to manage multiple message buffers.
The get functions return the id of active send/receive buffer. The set functions return the id the old send/receive buffer (-1 indicate an error).
Na (Michael) Li nali@umn.edu and A.J. Rossini rossini@u.washington.edu
PVM documentation
## Not run: sbufid <- .PVM.getsbuf ()