![]() |
![]()
| ![]() |
![]()
NAMEpvm_setsbuf - Switches the active send buffer. SYNOPSISC int oldbuf = pvm_setsbuf( int bufid ) PARAMETERSDESCRIPTIONThe routine pvm_setsbuf switches the active send buffer to bufid and saves the previous active send buffer oldbuf. If bufid 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. EXAMPLESC: sbuf1 = pvm_setsbuf( sbuf2 ); Fortran: CALL PVMFSETSBUF( NEWBUF, OLDBUF ) ERRORSThese error conditions can be returned by pvm_setsbuf
SEE ALSOpvm_setrbuf(3PVM)
|