Fix timevar.cc build on systems that don't have CLOCK_MONOTONIC
[gcc.git] / libstdc++-v3 / doc / xml / manual / concurrency.xml
blob62bb2aff87ed624fbd90ef3871d1098af85e2492
1 <chapter xmlns="http://docbook.org/ns/docbook" version="5.0"
2          xml:id="std.concurrency" xreflabel="Concurrency">
3 <?dbhtml filename="concurrency.html"?>
5 <info><title>
6   Concurrency
7   <indexterm><primary>Concurrency</primary></indexterm>
8 </title>
9   <keywordset>
10     <keyword>ISO C++</keyword>
11     <keyword>library</keyword>
12     <keyword>mutex</keyword>
13     <keyword>thread</keyword>
14     <keyword>future</keyword>
15     <keyword>condition_variable</keyword>
16   </keywordset>
17 </info>
21 <para>
22   Facilities for concurrent operation, and control thereof.
23 </para>
26 <!-- Sect1 01 : API -->
27 <section xml:id="std.concurrency.api"><info><title>API Reference</title></info>
30   <para>
31     All items are declared in one of four standard header files.
32   </para>
34   <para>
35     In header <filename>mutex</filename>, class
36     template <classname>mutex</classname> and variants,
37     class <classname>once_flag</classname>, and class
38     template <classname>unique_lock</classname>.
39   </para>
41   <para>
42     In header <filename>condition_variable</filename>,
43     classes <classname>condition_variable</classname>
44     and <classname>condition_variable_any</classname>.
45   </para>
47   <para>
48     In header <filename>thread</filename>,
49     class <classname>thread</classname> and
50     namespace <code>this_thread</code>.
51   </para>
53   <para>
54     In header <filename>future</filename>, class
55     template <classname>future</classname> and class
56     template <classname>shared_future</classname>, class
57     template <classname>promise</classname>,
58     and <classname>packaged_task</classname>.
59   </para>
61   <para>
62     Full API details.
63   </para>
65   <!-- Doxygen XML: api/group__concurrency.xml -->
67 </section>
69 </chapter>