summaryrefslogtreecommitdiff
path: root/libstdc++-v3/doc/xml/manual/atomics.xml
blob: ddeea0185d533436121bfa5982181f9b81690684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" 
	 xml:id="std.atomics" xreflabel="Atomics">
<?dbhtml filename="atomics.html"?>

<info><title>
  Atomics
  <indexterm><primary>Atomics</primary></indexterm>
</title>
  <keywordset>
    <keyword>
      ISO C++
    </keyword>
    <keyword>
      library
    </keyword>
    <keyword>
      atomic
    </keyword>
  </keywordset>
</info>



<para>
  Facilities for atomic operations.
</para>

<!-- Sect1 01 : API -->
<section xml:id="std.atomics.api"><info><title>API Reference</title></info>
  

  <para>
    All items are declared in the standard header
    file <filename>atomic</filename>.
  </para>

  <para>
    Set of typedefs that map <type>int</type> to
    <classname>atomic_int</classname>, and so on for all builtin
    integral types. Global enumeration <type>memory_order</type> to
    control memory ordering. Also includes
    <classname>atomic</classname>, a class template with member
    functions such as <function>load</function> and
    <function>store</function> that is instantiable such that
    <classname>atomic_int</classname> is the base class of
    <classname>atomic&lt;int&gt;</classname>.
  </para>

  <para>
    Full API details.
  </para>

  <!-- Doxygen XML: api/group__atomics.xml -->

</section>

</chapter>