Section: PVM Version 3.4 (3PVM)Updated: 30 August, 1993Local indexUp
pvm_setsbuf - Switches the active send buffer.
C int oldbuf = pvm_setsbuf( int bufid )
Fortran call pvmfsetsbuf( bufid, oldbuf )
Integer the message buffer identifier for the new active send buffer.
A value of 0 indicates the default receive buffer.
Integer returning the message buffer identifier
for the previous active send buffer.
switches the active send buffer to
and saves the previous active send buffer
is set to 0 then the present active send buffer
is saved and no active send buffer exists.
The routine is required when managing multiple message buffers.
For example switching back and forth between two buffers.
One buffer could be used to send information to a graphical interface
while a second buffer could be used send data to other tasks
in the application.