Changes between Version 23 and Version 24 of MessagePassing


Ignore:
Timestamp:
09/13/13 20:21:46 (13 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MessagePassing

    v23 v24  
    77* `$message`
    88 * an abstract, immutable datatype representing a message
    9 * `$message $message_pack(int source, int dest, int tag, void *data, int size)`
     9* `$pure $message $message_pack(int source, int dest, int tag, void *data, int size)`
    1010 * creates a new message, copying data from the specified buffer
    11 * `int $message_source($message message)`
     11* `$pure int $message_source($message message)`
    1212 * returns the message source
    13 * `int $message_tag($message message)`
     13* `$pure int $message_tag($message message)`
    1414 * returns the message tag
    15 * `int $message_dest($message message)`
     15* `$pure int $message_dest($message message)`
    1616 * returns the message destination
    17 * `int $message_size($message message)`
     17* `$pure int $message_size($message message)`
    1818 * returns the message size
    1919* `void $message_unpack($message message, void *buf, int size)`
     
    2121* `$comm`
    2222 * 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 * `$comm $comm_create(int nprocs, $proc procs[])`
     23* `$pure $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 * `int $comm_nprocs($comm comm)`
     25* `$pure int $comm_nprocs($comm comm)`
    2626 * returns the number of processes associated to the comm
    27 * `$proc $comm_getProc($comm comm, int rank)`
     27* `$pure $proc $comm_getProc($comm comm, int rank)`
    2828 * returns the rank-th proc in the comm
    29 * `$comm $comm_enqueue($comm comm, $message message)`
     29* `$pure $comm $comm_enqueue($comm comm, $message message)`
    3030 * 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 * `boolean $comm_probe($comm comm, int source, int dest, int tag)`
     31* `$pure boolean $comm_probe($comm comm, int source, int dest, int tag)`
    3232 * returns true iff a matching message exists in comm
    33 * `int $comm_seek($comm comm, int source, int dest, int tag)`
     33* `$pure int $comm_seek($comm comm, int source, int dest, int tag)`
    3434 * finds the first matching message and returns its index without modifying comm
    35 * `$message $comm_get($comm comm, int source, int dest, int index)`
     35* `$pure $message $comm_get($comm comm, int source, int dest, int index)`
    3636 * returns the message at the index without modifying the comm
    37 * `$comm $comm_dequeue($comm comm, int source, int dest, int index)`
     37* `$pure $comm $comm_dequeue($comm comm, int source, int dest, int index)`
    3838 * 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)`
     39* `$pure 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* `$pure int $comm_total_size($comm comm)`
    4242 * returns the total number of messages in the comm
    4343* constants defined: