xref: /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/doc/html/manual/atomics.html (revision 36ac495d2b3ea2b9d96377b2143ebfedac224b92)
1*36ac495dSmrg<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2*36ac495dSmrg<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Chapter 14.  Atomics</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><meta name="keywords" content="ISO C++, library, atomic" /><meta name="keywords" content="ISO C++, runtime, library" /><link rel="home" href="../index.html" title="The GNU C++ Library" /><link rel="up" href="std_contents.html" title="Part II.  Standard Contents" /><link rel="prev" href="io_and_c.html" title="Interacting with C" /><link rel="next" href="concurrency.html" title="Chapter 15.  Concurrency" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 14. 
3*36ac495dSmrg  Atomics
4*36ac495dSmrg
5*36ac495dSmrg</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="io_and_c.html">Prev</a> </td><th width="60%" align="center">Part II. 
6*36ac495dSmrg    Standard Contents
7*36ac495dSmrg  </th><td width="20%" align="right"> <a accesskey="n" href="concurrency.html">Next</a></td></tr></table><hr /></div><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a id="std.atomics"></a>Chapter 14. 
8*36ac495dSmrg  Atomics
9*36ac495dSmrg  <a id="id-1.3.4.12.1.1.1" class="indexterm"></a>
10*36ac495dSmrg</h2></div></div></div><div class="toc"><p><strong>Table of Contents</strong></p><dl class="toc"><dt><span class="section"><a href="atomics.html#std.atomics.api">API Reference</a></span></dt></dl></div><p>
11*36ac495dSmrg  Facilities for atomic operations.
12*36ac495dSmrg</p><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="std.atomics.api"></a>API Reference</h2></div></div></div><p>
13*36ac495dSmrg    All items are declared in the standard header
14*36ac495dSmrg    file <code class="filename">atomic</code>.
15*36ac495dSmrg  </p><p>
16*36ac495dSmrg    Set of typedefs that map <span class="type">int</span> to
17*36ac495dSmrg    <code class="classname">atomic_int</code>, and so on for all builtin
18*36ac495dSmrg    integral types. Global enumeration <span class="type">memory_order</span> to
19*36ac495dSmrg    control memory ordering. Also includes
20*36ac495dSmrg    <code class="classname">atomic</code>, a class template with member
21*36ac495dSmrg    functions such as <code class="function">load</code> and
22*36ac495dSmrg    <code class="function">store</code> that is instantiable such that
23*36ac495dSmrg    <code class="classname">atomic_int</code> is the base class of
24*36ac495dSmrg    <code class="classname">atomic&lt;int&gt;</code>.
25*36ac495dSmrg  </p><p>
26*36ac495dSmrg    Full API details.
27*36ac495dSmrg  </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="io_and_c.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="std_contents.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="concurrency.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Interacting with C </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 15. 
28*36ac495dSmrg  Concurrency
29*36ac495dSmrg
30*36ac495dSmrg</td></tr></table></div></body></html>