1 <html><head><meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8"><title>Chapter
14. Atomics
</title><meta name=
"generator" content=
"DocBook XSL-NS Stylesheets V1.76.1"><meta name=
"keywords" content=
"
7 "><meta name=
"keywords" content=
"
13 "><link rel=
"home" href=
"../index.html" title=
"The GNU C++ Library"><link rel=
"up" href=
"bk01pt02.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 bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF"><div class=
"navheader"><table width=
"100%" summary=
"Navigation header"><tr><th colspan=
"3" align=
"center">Chapter
14.
16 </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.
18 </th><td width=
"20%" align=
"right"> <a accesskey=
"n" href=
"concurrency.html">Next
</a></td></tr></table><hr></div><div class=
"chapter" title=
"Chapter 14. Atomics"><div class=
"titlepage"><div><div><h2 class=
"title"><a name=
"std.atomics"></a>Chapter
14.
20 <a class=
"indexterm" name=
"id630189"></a>
21 </h2></div></div></div><div class=
"toc"><p><b>Table of Contents
</b></p><dl><dt><span class=
"section"><a href=
"atomics.html#std.atomics.api">API Reference
</a></span></dt></dl></div><p>
22 Facilities for atomic operations.
23 </p><div class=
"section" title=
"API Reference"><div class=
"titlepage"><div><div><h2 class=
"title" style=
"clear: both"><a name=
"std.atomics.api"></a>API Reference
</h2></div></div></div><p>
24 All items are declared in the standard header
25 file
<code class=
"filename">atomic
</code>.
27 Set of typedefs that map
<span class=
"type">int
</span> to
28 <code class=
"classname">atomic_int
</code>, and so on for all builtin
29 integral types. Global enumeration
<span class=
"type">memory_order
</span> to
30 control memory ordering. Also includes
31 <code class=
"classname">atomic
</code>, a class template with member
32 functions such as
<code class=
"function">load
</code> and
33 <code class=
"function">store
</code> that is instantiable such that
34 <code class=
"classname">atomic_int
</code> is the base class of
35 <code class=
"classname">atomic
<int
></code>.
38 </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=
"bk01pt02.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.
41 </td></tr></table></div></body></html>