Changes between Version 10 and Version 11 of Libraries


Ignore:
Timestamp:
05/22/23 15:37:48 (3 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Libraries

    v10 v11  
    2727* `$system  void $bundle_unpack($bundle b, void *ptr)`
    2828  * This function copies the data from the given bundle into the memory region starting at `ptr`.  The memory region extends for `$bundle_size(b)` bytes.
    29 * `$system void $bundle_unpack_apply($bundle data, void *buf, int size, $operation op)`
    30   * This function unpacks the bundle and applies the specified operation on the contents of the bundle. For every binary operation defined in operation, the content of the bundle will be used as the left operand and `buf` will be used as the right operand. The result of the operation is stored in `buf` once is it is done.
     29* `$atomic_f void $bundle_unpack_apply($bundle data, void *buf, $operation op, int count, void *result)`
     30  * This function unpacks the bundle and applies the specified operation on the contents of the bundle. For every binary operation defined in operation, the content of the bundle will be used as the left operand and `buf` will be used as the right operand. The result of the operation is stored in `buf`.  Parameter `count` is the number of elements in the bundle; `buf` should point to a region of memory with at these last many elements of the same type.
    3131
    3232== comm