Changes between Version 18 and Version 19 of Libraries


Ignore:
Timestamp:
05/25/23 21:52:01 (3 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Libraries

    v18 v19  
    8484  * Destroys the gcomm, deallocating memory that was allocated for it.  If `junkMsgs` is not NULL it shall be a pointer to an array of indeterminate length of `$message`.   This function will populate that array with all messages remaining the gcomm's buffers and return the number of such messages.
    8585* `$atomic_f void $gcomm_dup($comm comm, $comm newcomm)`
     86  * Duplicates the communicator `comm`.   The `newcomm` is initialized to have the same gcomm and place as the original `comm`. 
    8687* `$atomic_f $comm $comm_create($scope scope, $gcomm gcomm, int place)`
    87   *
     88  * Creates a new `comm` associated with the specified `place` in `gcomm`.  If `place` is less than 0, or greater than the size of `gcomm`, or another process has already occupied `place` in `gcomm`, an error occurs.  The new comm object is allocated in the heap of the given scope.
    8889* `$atomic_f void $comm_destroy($comm comm)`
     90  * Deallocates the comm.
    8991* `$atomic_f int $comm_size($comm comm)`
     92  * Gets the size of the gcomm that owns `comm`.
    9093* `$atomic_f int $comm_place($comm comm)`
     94  * Gets the place of the given `comm` in its gcomm object.
    9195* `$system void $comm_enqueue($comm comm, $message message)`
     96  * Enqueues a message in a FIFO channel in the gcomm.  The message should have its source be the place of `comm`.   The message will enqueued on channel ''(i,j)'' in the gcomm, where ''i'' is the place of the source, and ''j'' is the place of the destination of the message.
    9297* `$system $state_f _Bool $comm_probe($comm comm, int source, int tag)`
     98  * Determines whether there exists a message with the given source and tag, and with destination the place of `comm`, in the gcomm associated to `comm`.   `source` may be $COMM_ANY_SOURCE` and `tag` may be `$COMM_ANY_TAG`.
    9399* `$system $message $comm_seek($comm comm, int source, int tag)`
    94100* `$system $message $comm_dequeue($comm comm, int source, int tag)`