1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>Chapter 1. Fiber</title> 5<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="Chapter 1. Fiber"> 8<link rel="next" href="fiber/overview.html" title="Overview"> 9</head> 10<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 11<table cellpadding="2" width="100%"><tr> 12<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> 13<td align="center"><a href="../../../../index.html">Home</a></td> 14<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> 15<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 16<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 17<td align="center"><a href="../../../../more/index.htm">More</a></td> 18</tr></table> 19<hr> 20<div class="spirit-nav"><a accesskey="n" href="fiber/overview.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a></div> 21<div class="chapter"> 22<div class="titlepage"><div> 23<div><h2 class="title"> 24<a name="fiber"></a>Chapter 1. Fiber</h2></div> 25<div><div class="author"><h3 class="author"> 26<span class="firstname">Oliver</span> <span class="surname">Kowalke</span> 27</h3></div></div> 28<div><p class="copyright">Copyright © 2013 Oliver Kowalke</p></div> 29<div><div class="legalnotice"> 30<a name="fiber.legal"></a><p> 31 Distributed under the Boost Software License, Version 1.0. (See accompanying 32 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 33 </p> 34</div></div> 35</div></div> 36<div class="toc"> 37<p><b>Table of Contents</b></p> 38<dl class="toc"> 39<dt><span class="section"><a href="fiber/overview.html">Overview</a></span></dt> 40<dd><dl><dt><span class="section"><a href="fiber/overview/implementations__fcontext_t__ucontext_t_and_winfiber.html">Implementations: 41 fcontext_t, ucontext_t and WinFiber</a></span></dt></dl></dd> 42<dt><span class="section"><a href="fiber/fiber_mgmt.html">Fiber management</a></span></dt> 43<dd><dl> 44<dt><span class="section"><a href="fiber/fiber_mgmt/fiber.html">Class 45 <code class="computeroutput"><span class="identifier">fiber</span></code></a></span></dt> 46<dt><span class="section"><a href="fiber/fiber_mgmt/id.html">Class fiber::id</a></span></dt> 47<dt><span class="section"><a href="fiber/fiber_mgmt/this_fiber.html">Namespace this_fiber</a></span></dt> 48</dl></dd> 49<dt><span class="section"><a href="fiber/scheduling.html">Scheduling</a></span></dt> 50<dt><span class="section"><a href="fiber/stack.html">Stack allocation</a></span></dt> 51<dd><dl> 52<dt><span class="section"><a href="fiber/stack/valgrind.html">Support for valgrind</a></span></dt> 53<dt><span class="section"><a href="fiber/stack/sanitizers.html">Support for sanitizers</a></span></dt> 54</dl></dd> 55<dt><span class="section"><a href="fiber/synchronization.html">Synchronization</a></span></dt> 56<dd><dl> 57<dt><span class="section"><a href="fiber/synchronization/mutex_types.html">Mutex Types</a></span></dt> 58<dt><span class="section"><a href="fiber/synchronization/conditions.html">Condition Variables</a></span></dt> 59<dt><span class="section"><a href="fiber/synchronization/barriers.html">Barriers</a></span></dt> 60<dt><span class="section"><a href="fiber/synchronization/channels.html">Channels</a></span></dt> 61<dd><dl> 62<dt><span class="section"><a href="fiber/synchronization/channels/buffered_channel.html">Buffered 63 Channel</a></span></dt> 64<dt><span class="section"><a href="fiber/synchronization/channels/unbuffered_channel.html">Unbuffered 65 Channel</a></span></dt> 66</dl></dd> 67<dt><span class="section"><a href="fiber/synchronization/futures.html">Futures</a></span></dt> 68<dd><dl> 69<dt><span class="section"><a href="fiber/synchronization/futures/future.html">Future</a></span></dt> 70<dt><span class="section"><a href="fiber/synchronization/futures/promise.html">Template 71 <code class="computeroutput"><span class="identifier">promise</span><span class="special"><></span></code></a></span></dt> 72<dt><span class="section"><a href="fiber/synchronization/futures/packaged_task.html">Template 73 <code class="computeroutput"><span class="identifier">packaged_task</span><span class="special"><></span></code></a></span></dt> 74</dl></dd> 75</dl></dd> 76<dt><span class="section"><a href="fiber/fls.html">Fiber local storage</a></span></dt> 77<dt><span class="section"><a href="fiber/migration.html">Migrating fibers 78 between threads</a></span></dt> 79<dt><span class="section"><a href="fiber/callbacks.html">Integrating Fibers 80 with Asynchronous Callbacks</a></span></dt> 81<dd><dl> 82<dt><span class="section"><a href="fiber/callbacks/overview.html">Overview</a></span></dt> 83<dt><span class="section"><a href="fiber/callbacks/return_errorcode.html">Return Errorcode</a></span></dt> 84<dt><span class="section"><a href="fiber/callbacks/success_or_exception.html">Success or Exception</a></span></dt> 85<dt><span class="section"><a href="fiber/callbacks/return_errorcode_or_data.html">Return Errorcode 86 or Data</a></span></dt> 87<dt><span class="section"><a href="fiber/callbacks/data_or_exception.html">Data 88 or Exception</a></span></dt> 89<dt><span class="section"><a href="fiber/callbacks/success_error_virtual_methods.html">Success/Error 90 Virtual Methods</a></span></dt> 91<dt><span class="section"><a href="fiber/callbacks/then_there_s____boost_asio__.html">Then 92 There’s <a href="http://www.boost.org/doc/libs/release/libs/asio/index.html" target="_top">Boost.Asio</a></a></span></dt> 93</dl></dd> 94<dt><span class="section"><a href="fiber/nonblocking.html">Integrating 95 Fibers with Nonblocking I/O</a></span></dt> 96<dt><span class="section"><a href="fiber/when_any.html">when_any / when_all 97 functionality</a></span></dt> 98<dd><dl> 99<dt><span class="section"><a href="fiber/when_any/when_any.html">when_any</a></span></dt> 100<dd><dl> 101<dt><span class="section"><a href="fiber/when_any/when_any/when_any__simple_completion.html">when_any, 102 simple completion</a></span></dt> 103<dt><span class="section"><a href="fiber/when_any/when_any/when_any__return_value.html">when_any, 104 return value</a></span></dt> 105<dt><span class="section"><a href="fiber/when_any/when_any/when_any__produce_first_outcome__whether_result_or_exception.html">when_any, 106 produce first outcome, whether result or exception</a></span></dt> 107<dt><span class="section"><a href="fiber/when_any/when_any/when_any__produce_first_success.html">when_any, 108 produce first success</a></span></dt> 109<dt><span class="section"><a href="fiber/when_any/when_any/when_any__heterogeneous_types.html">when_any, 110 heterogeneous types</a></span></dt> 111<dt><span class="section"><a href="fiber/when_any/when_any/when_any__a_dubious_alternative.html">when_any, 112 a dubious alternative</a></span></dt> 113</dl></dd> 114<dt><span class="section"><a href="fiber/when_any/when_all_functionality.html">when_all functionality</a></span></dt> 115<dd><dl> 116<dt><span class="section"><a href="fiber/when_any/when_all_functionality/when_all__simple_completion.html">when_all, 117 simple completion</a></span></dt> 118<dt><span class="section"><a href="fiber/when_any/when_all_functionality/when_all__return_values.html">when_all, 119 return values</a></span></dt> 120<dt><span class="section"><a href="fiber/when_any/when_all_functionality/when_all_until_first_exception.html">when_all 121 until first exception</a></span></dt> 122<dt><span class="section"><a href="fiber/when_any/when_all_functionality/wait_all__collecting_all_exceptions.html">wait_all, 123 collecting all exceptions</a></span></dt> 124<dt><span class="section"><a href="fiber/when_any/when_all_functionality/when_all__heterogeneous_types.html">when_all, 125 heterogeneous types</a></span></dt> 126</dl></dd> 127</dl></dd> 128<dt><span class="section"><a href="fiber/integration.html">Sharing a 129 Thread with Another Main Loop</a></span></dt> 130<dd><dl> 131<dt><span class="section"><a href="fiber/integration/overview.html">Overview</a></span></dt> 132<dt><span class="section"><a href="fiber/integration/event_driven_program.html">Event-Driven 133 Program</a></span></dt> 134<dt><span class="section"><a href="fiber/integration/embedded_main_loop.html">Embedded 135 Main Loop</a></span></dt> 136<dt><span class="section"><a href="fiber/integration/deeper_dive_into___boost_asio__.html">Deeper 137 Dive into <a href="http://www.boost.org/doc/libs/release/libs/asio/index.html" target="_top">Boost.Asio</a></a></span></dt> 138</dl></dd> 139<dt><span class="section"><a href="fiber/speculation.html">Specualtive 140 execution</a></span></dt> 141<dt><span class="section"><a href="fiber/numa.html">NUMA</a></span></dt> 142<dt><span class="section"><a href="fiber/gpu_computing.html">GPU computing</a></span></dt> 143<dd><dl> 144<dt><span class="section"><a href="fiber/gpu_computing/cuda.html">CUDA</a></span></dt> 145<dt><span class="section"><a href="fiber/gpu_computing/hip.html">ROCm/HIP</a></span></dt> 146</dl></dd> 147<dt><span class="section"><a href="fiber/worker.html">Running with worker 148 threads</a></span></dt> 149<dt><span class="section"><a href="fiber/performance.html">Performance</a></span></dt> 150<dt><span class="section"><a href="fiber/tuning.html">Tuning</a></span></dt> 151<dt><span class="section"><a href="fiber/custom.html">Customization</a></span></dt> 152<dt><span class="section"><a href="fiber/rationale.html">Rationale</a></span></dt> 153<dt><span class="section"><a href="fiber/acknowledgements.html">Acknowledgments</a></span></dt> 154</dl> 155</div> 156</div> 157<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 158<td align="left"><p><small>Last revised: August 11, 2020 at 15:01:12 GMT</small></p></td> 159<td align="right"><div class="copyright-footer"></div></td> 160</tr></table> 161<hr> 162<div class="spirit-nav"><a accesskey="n" href="fiber/overview.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a></div> 163</body> 164</html> 165