|
1560 | 1560 | blockquote c-[vi] { color: inherit; } /* Name.Variable.Instance */
|
1561 | 1561 | blockquote c-[il] { color: inherit; } /* Literal.Number.Integer.Long */
|
1562 | 1562 | </style>
|
1563 |
| - <meta content="Bikeshed version 4f053d00e, updated Tue Aug 10 14:13:32 2021 -0700" name="generator"> |
| 1563 | + <meta content="Bikeshed version a210b7d86, updated Thu Sep 16 13:45:19 2021 -0700" name="generator"> |
1564 | 1564 | <link href="https://wg21.link/P2300" rel="canonical">
|
1565 | 1565 | <link href="https://isocpp.org/favicon.ico" rel="icon">
|
1566 |
| - <meta content="06b903afb686b73f0a60a1c53af1880853c9d09d" name="document-revision"> |
1567 | 1566 | <style>
|
1568 | 1567 | pre {
|
1569 | 1568 | margin-top: 0px;
|
|
1876 | 1875 |
|
1877 | 1876 | .dfn-paneled { cursor: pointer; }
|
1878 | 1877 | </style>
|
| 1878 | +<style>/* style-issues */ |
| 1879 | + |
| 1880 | +a[href].issue-return { |
| 1881 | + float: right; |
| 1882 | + float: inline-end; |
| 1883 | + color: var(--issueheading-text); |
| 1884 | + font-weight: bold; |
| 1885 | + text-decoration: none; |
| 1886 | +} |
| 1887 | +</style> |
1879 | 1888 | <style>/* style-md-lists */
|
1880 | 1889 |
|
1881 | 1890 | /* This is a weird hack for me not yet following the commonmark spec
|
|
2185 | 2194 | <div class="head">
|
2186 | 2195 | <p data-fill-with="logo"></p>
|
2187 | 2196 | <h1 class="p-name no-ref" id="title">P2300R2<br><code class="highlight"><c- n>std</c-><c- o>::</c-><c- n>execution</c-></code></h1>
|
2188 |
| - <h2 class="no-num no-toc no-ref heading settled" id="profile-and-date"><span class="content">Draft Proposal, <time class="dt-updated" datetime="2021-10-01">2021-10-01</time></span></h2> |
| 2197 | + <h2 class="no-num no-toc no-ref heading settled" id="profile-and-date"><span class="content">Published Proposal, <time class="dt-updated" datetime="2021-10-04">2021-10-04</time></span></h2> |
2189 | 2198 | <div data-fill-with="spec-metadata">
|
2190 | 2199 | <dl>
|
2191 | 2200 | <dt class="editor">Authors:
|
@@ -2241,7 +2250,7 @@ <h2 class="no-num no-toc no-ref" id="contents">Table of Contents</h2>
|
2241 | 2250 | <a href="#example-schedulers"><span class="secno">1.5</span> <span class="content">Examples: Schedulers</span></a>
|
2242 | 2251 | <ol class="toc">
|
2243 | 2252 | <li><a href="#example-schedulers-inline"><span class="secno">1.5.1</span> <span class="content">Inline scheduler</span></a>
|
2244 |
| - <li><a href="#example-single-thread"><span class="secno">1.5.2</span> <span class="content">Single Thread Scheduler</span></a> |
| 2253 | + <li><a href="#example-single-thread"><span class="secno">1.5.2</span> <span class="content">Single thread scheduler</span></a> |
2245 | 2254 | </ol>
|
2246 | 2255 | <li><a href="#intro-is-not"><span class="secno">1.6</span> <span class="content">What this proposal is <strong>not</strong></span></a>
|
2247 | 2256 | <li><a href="#intro-compare"><span class="secno">1.7</span> <span class="content">Design changes from P0443</span></a>
|
@@ -2942,7 +2951,7 @@ <h4 class="heading settled" data-level="1.5.1" id="example-schedulers-inline"><s
|
2942 | 2951 | <li data-md>
|
2943 | 2952 | <p>The operation state customizes <code class="highlight"><c- n>std</c-><c- o>::</c-><c- n>execution</c-><c- o>::</c-><c- n>start</c-></code> to call <code class="highlight"><c- n>std</c-><c- o>::</c-><c- n>execution</c-><c- o>::</c-><c- n>set_value</c-></code> on the receiver, passing any exceptions to <code class="highlight"><c- n>std</c-><c- o>::</c-><c- n>execution</c-><c- o>::</c-><c- n>set_error</c-></code> as an <code class="highlight"><c- n>exception_ptr</c-></code>.</p>
|
2944 | 2953 | </ol>
|
2945 |
| - <h4 class="heading settled" data-level="1.5.2" id="example-single-thread"><span class="secno">1.5.2. </span><span class="content">Single Thread Scheduler</span><a class="self-link" href="#example-single-thread"></a></h4> |
| 2954 | + <h4 class="heading settled" data-level="1.5.2" id="example-single-thread"><span class="secno">1.5.2. </span><span class="content">Single thread scheduler</span><a class="self-link" href="#example-single-thread"></a></h4> |
2946 | 2955 | <p>This example shows how to create a scheduler for an execution context that consists of a single
|
2947 | 2956 | thread. It is implemented in terms of a lower-level execution context called <code class="highlight"><c- n>manual_event_loop</c-></code>.</p>
|
2948 | 2957 | <pre class="language-c++ highlight"><c- n>class</c-> <c- n>single_thread_context</c-> <c- p>{</c->
|
|
0 commit comments