Changes between Version 17 and Version 18 of MessagePassing


Ignore:
Timestamp:
09/13/13 09:23:59 (13 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MessagePassing

    v17 v18  
    66
    77* `$message`
    8  * an abstract datatype
     8 * an abstract, immutable datatype representing a message
    99* `$message $message_pack(int source, int dest, int tag, void *data, int size)`
    1010 * creates a new message, copying data from the specified buffer
     
    2020 * transfers message data to `buf`, throwing exception if message size exceeds specified size
    2121* `$comm`
    22  * an abstract datatype representing a communicator, or set of message channels between every pair of processes in a set of processes
     22 * 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
    2323* `$comm $comm_create(int nprocs, $proc procs[])`
    2424 * creates a new comm from the given sequence of processes, by allocating memory and copying the process sequence; the new comm has no messages
     
    2626 * returns the number of processes associated to the comm
    2727* `$proc $comm_getProc($comm comm, int pid)`
    28  * returns a pointer to the procs array in comm
     28 * returns the pid-th proc in the comm
    2929* `$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)
    3131* `boolean $comm_probe($comm comm, int source, int dest, int tag)`
    3232 * returns true iff a matching message exists in comm