Changes between Version 15 and Version 16 of MessagePassing


Ignore:
Timestamp:
09/06/13 16:50:58 (13 years ago)
Author:
zirkel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MessagePassing

    v15 v16  
    2121* `$comm`
    2222 * an abstract datatype representing a communicator, or set of message channels between every pair of processes in a set of processes
    23 * `$comm $comm_create(int nprocs, $proc * procs)`
     23* `$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
    25 * `void $comm_destroy($comm * comm)`
    26  * destroys the comm, deallocating whatever was allocated in its creation
    27 * `int $comm_nprocs($comm * comm)`
     25* `int $comm_nprocs($comm comm)`
    2826 * returns the number of processes associated to the comm
    29 * `$proc * $comm_procs($comm * comm)`
     27* `$proc[] $comm_procs($comm comm)`
    3028 * returns a pointer to the procs array in comm
    31 * `void $comm_enqueue($comm * comm, $message message)`
     29* `$comm $comm_enqueue($comm comm, $message message)`
    3230 * adds the message to the comm
    33 * `boolean $comm_probe($comm * comm, int source, int dest, int tag)`
     31* `boolean $comm_probe($comm comm, int source, int dest, int tag)`
    3432 * returns true iff a matching message exists in comm
    35 * `$message * $comm_seek($comm * comm, int source, int dest, int tag)`
    36  * finds the first matching message and returns pointer to it without modifying comm
    37 * `$message $comm_dequeue($comm * comm, int source, int dest, int tag)`
    38  * finds the first matching message, removes it from comm, and returns pointer to message
    39 * `int $comm_chan_size($comm * comm, int source, int dest)`
     33* `int $comm_seek($comm comm, int source, int dest, int tag)`
     34 * finds the first matching message and returns its index without modifying comm
     35* `$message $comm_get($comm comm, int source, int dest, int index)`
     36 * returns the message at the index without modifying the comm
     37* `$comm $comm_dequeue($comm comm, int source, int dest, int index)`
     38 * removes the message at the index from the comm and returns the modified comm
     39* `int $comm_chan_size($comm comm, int source, int dest)`
    4040 * returns the number of messages from source to dest stored in comm
    41 * `int $comm_total_size($comm * comm)`
     41* `int $comm_total_size($comm comm)`
    4242 * returns the total number of messages in the comm
    4343* constants defined:
     
    122122}}}
    123123
    124