1 |
742 |
jeremybenn |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
3 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Chapter 14. Atomics</title><meta name="generator" content="DocBook XSL-NS Stylesheets V1.76.1"/><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="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><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 14.
|
4 |
|
|
Atomics
|
5 |
|
|
|
6 |
|
|
</th></tr><tr><td align="left"><a accesskey="p" href="io_and_c.html">Prev</a> </td><th width="60%" align="center">Part II.
|
7 |
|
|
Standard Contents
|
8 |
|
|
</th><td 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 id="std.atomics"/>Chapter 14.
|
9 |
|
|
Atomics
|
10 |
|
|
<a id="id506046" class="indexterm"/>
|
11 |
|
|
</h2></div></div></div><div class="toc"><p><strong>Table of Contents</strong></p><dl><dt><span class="section"><a href="atomics.html#std.atomics.api">API Reference</a></span></dt></dl></div><p>
|
12 |
|
|
Facilities for atomic operations.
|
13 |
|
|
</p><div class="section" title="API Reference"><div class="titlepage"><div><div><h2 class="title"><a id="std.atomics.api"/>API Reference</h2></div></div></div><p>
|
14 |
|
|
All items are declared in the standard header
|
15 |
|
|
file <code class="filename">atomic</code>.
|
16 |
|
|
</p><p>
|
17 |
|
|
Set of typedefs that map <span class="type">int</span> to
|
18 |
|
|
<code class="classname">atomic_int</code>, and so on for all builtin
|
19 |
|
|
integral types. Global enumeration <span class="type">memory_order</span> to
|
20 |
|
|
control memory ordering. Also includes
|
21 |
|
|
<code class="classname">atomic</code>, a class template with member
|
22 |
|
|
functions such as <code class="function">load</code> and
|
23 |
|
|
<code class="function">store</code> that is instantiable such that
|
24 |
|
|
<code class="classname">atomic_int</code> is the base class of
|
25 |
|
|
<code class="classname">atomic<int></code>.
|
26 |
|
|
</p><p>
|
27 |
|
|
Full API details.
|
28 |
|
|
</p></div></div><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td align="left"><a accesskey="p" href="io_and_c.html">Prev</a> </td><td align="center"><a accesskey="u" href="bk01pt02.html">Up</a></td><td align="right"> <a accesskey="n" href="concurrency.html">Next</a></td></tr><tr><td align="left" valign="top">Interacting with C </td><td align="center"><a accesskey="h" href="../index.html">Home</a></td><td align="right" valign="top"> Chapter 15.
|
29 |
|
|
Concurrency
|
30 |
|
|
|
31 |
|
|
</td></tr></table></div></body></html>
|