The sender doesn't get a copy of multicast messages



next up previous contents
Next: My tasks can't Up: Running and debugging Previous: Running and debugging

The sender doesn't get a copy of multicast messages

Libpvm automatically removes the sender from the tid list passed to mcast. It seems more often to be the case that the sender doesn't want to get a copy of the message, even if it is in the list of addresses.

If the sender must get the message too, you'll need to send the message explicitly with, f.e.:

pvm_send(pvm_mytid(), code);

Or to do it more efficiently, after the mcast, call:

pvm_setrbuf(pvm_getsbuf());



Bob Manchek
Fri Mar 3 15:08:11 EST 1995