Atomic Functions
Advanced Computational Language
Collaboration diagram for Atomic Functions:

## Functions

Element | acl::elementOperators::atomic_add (Element e1, Element e2)
Element | acl::elementOperators::atomic_sub (Element e1, Element e2)
Element | acl::elementOperators::atomic_xchg (Element e1, Element e2)

## Detailed Description

## Function Documentation

## atomic_add()

Element acl::elementOperators::atomic_add | ( | Element | e1,
|  | Element | e2
| ) |  |

Atomic sum

Examples
  testOperators.cc.

## atomic_sub()

Element acl::elementOperators::atomic_sub | ( | Element | e1,
|  | Element | e2
| ) |  |

Atomic subtraction

## atomic_xchg()

Element acl::elementOperators::atomic_xchg | ( | Element | e1,
|  | Element | e2
| ) |  |

Atomic exchange