Query: pvm_setmwid
OS: debian
Section: 3pvm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SETMWID(3PVM) PVM Version 3.4 SETMWID(3PVM)NAMEpvm_getmwid, pvm_setmwid - Get or set wait ID of a message. [In Version 3.4: Relaced by pvm_getminfo and pvm_setminfo]SYNOPSISC int info = pvm_getmwid( int bufid ) int info = pvm_setmwid( int bufid, int waitid ) Fortran Not AvailablePARAMETERSbufid Message buffer identifier. waitid Wait identifier number.DESCRIPTIONA wait identifier is part of a message (like the source, destination, tag and body). It is used to match a reply to the corresponding request. The default wait ID for a message is zero (none). pvm_getmwid returns the wait ID associated with a message buffer, or a negative error code. pvm_setmwid assigns a new wait ID to a message buffer. It returns PvmOk unless an error occurs.EXAMPLESint src, tag; pvm_recv(-1, -1); /* ... process, compose reply message */ pvm_setmwid(pvm_getsbuf(), pvm_getmwid(pvm_getrbuf())); pvm_bufinfo(pvm_getrbuf(), (int *)0, &tag, &src); pvm_send(src, tag);ERRORSThe following error conditions can be returned by pvm_getmwid or pvm_setmwid: PvmBadParam Invalid value for bufid argument. PvmNoSuchBuf Message buffer bufid doesn't exist.SEE ALSOpvm_bufinfo(3PVM) 18 May, 1994 SETMWID(3PVM)
Related Man Pages |
---|
pvm_bufinfo(3pvm) - redhat |
pvmfprobe(3pvm) - redhat |
pvmfgetminfo(3pvm) - debian |
pvmfsetminfo(3pvm) - debian |
pvm_getminfo(3pvm) - redhat |
Similar Topics in the Unix Linux Community |
---|
Unix |
FTP GET with exception handeling and multiple conditions |
Last Message to Don Cragun |