code class="funcdef">uint <strong class="fsfunc">atomicExchange</strong>(</code>
              </td>
              <td>inout uint <var class="pdparam">mem</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>uint <var class="pdparam">data</var><code>)</code>;</td>
            </tr>
          </table>
          <div class="funcprototype-spacer"> </div>
        </div>
      </div>
      <div class="refsect1" id="parameters">
        <h2>Parameters</h2>
        <div clas