Changes between Version 17 and Version 18 of MessagePassing
- Timestamp:
- 09/13/13 09:23:59 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MessagePassing
v17 v18 6 6 7 7 * `$message` 8 * an abstract datatype8 * an abstract, immutable datatype representing a message 9 9 * `$message $message_pack(int source, int dest, int tag, void *data, int size)` 10 10 * creates a new message, copying data from the specified buffer … … 20 20 * transfers message data to `buf`, throwing exception if message size exceeds specified size 21 21 * `$comm` 22 * an abstract datatype representing a communicator, or set of message channels between every pair of processes in a set of processes22 * an abstract, immutable datatype representing a communicator value, which encapsulates a set of message channels between every pair of processes in a list of processes 23 23 * `$comm $comm_create(int nprocs, $proc procs[])` 24 24 * creates a new comm from the given sequence of processes, by allocating memory and copying the process sequence; the new comm has no messages … … 26 26 * returns the number of processes associated to the comm 27 27 * `$proc $comm_getProc($comm comm, int pid)` 28 * returns a pointer to the procs array incomm28 * returns the pid-th proc in the comm 29 29 * `$comm $comm_enqueue($comm comm, $message message)` 30 * adds the message to the comm 30 * adds the message to the comm (or, more precisely, returns a new comm value identical to the old except with the message added in the appropriate queue) 31 31 * `boolean $comm_probe($comm comm, int source, int dest, int tag)` 32 32 * returns true iff a matching message exists in comm
