Skip to content

Commit e280f8e

Browse files
committed
Ship R2 (2021-10-15 mailing).
1 parent a32fcb9 commit e280f8e

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

P2300R2.html

+14-5
Original file line numberDiff line numberDiff line change
@@ -1560,10 +1560,9 @@
15601560
blockquote c-[vi] { color: inherit; } /* Name.Variable.Instance */
15611561
blockquote c-[il] { color: inherit; } /* Literal.Number.Integer.Long */
15621562
</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">
15641564
<link href="https://wg21.link/P2300" rel="canonical">
15651565
<link href="https://isocpp.org/favicon.ico" rel="icon">
1566-
<meta content="06b903afb686b73f0a60a1c53af1880853c9d09d" name="document-revision">
15671566
<style>
15681567
pre {
15691568
margin-top: 0px;
@@ -1876,6 +1875,16 @@
18761875

18771876
.dfn-paneled { cursor: pointer; }
18781877
</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>
18791888
<style>/* style-md-lists */
18801889

18811890
/* This is a weird hack for me not yet following the commonmark spec
@@ -2185,7 +2194,7 @@
21852194
<div class="head">
21862195
<p data-fill-with="logo"></p>
21872196
<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>
21892198
<div data-fill-with="spec-metadata">
21902199
<dl>
21912200
<dt class="editor">Authors:
@@ -2241,7 +2250,7 @@ <h2 class="no-num no-toc no-ref" id="contents">Table of Contents</h2>
22412250
<a href="#example-schedulers"><span class="secno">1.5</span> <span class="content">Examples: Schedulers</span></a>
22422251
<ol class="toc">
22432252
<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>
22452254
</ol>
22462255
<li><a href="#intro-is-not"><span class="secno">1.6</span> <span class="content">What this proposal is <strong>not</strong></span></a>
22472256
<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
29422951
<li data-md>
29432952
<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>
29442953
</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>
29462955
<p>This example shows how to create a scheduler for an execution context that consists of a single
29472956
thread. It is implemented in terms of a lower-level execution context called <code class="highlight"><c- n>manual_event_loop</c-></code>.</p>
29482957
<pre class="language-c++ highlight"><c- n>class</c-> <c- n>single_thread_context</c-> <c- p>{</c->

std_execution.bs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<pre class='metadata'>
22
Title: `std::execution`
33
H1: <code>std::execution</code>
4-
Shortname: D2300
4+
Shortname: P2300
55
Revision: 2
6-
Status: D
6+
Status: P
77
Group: WG21
88
Audience: SG1, LEWG
99
Editor: Michał Dominiak, [email protected]
@@ -295,7 +295,7 @@ You can find the example [here](https://github.com/kirkshoop/libunifex/blob/file
295295
296296
Dietmar Kuehl has a hobby project that implements networking APIs on top of sender/receiver. He recently implemented an echo server as a demo. His echo server code can be found [here](https://github.com/dietmarkuehl/kuhllib/blob/main/src/examples/echo_server.cpp).
297297
298-
Below, I show the part of the echo server code. This code is executed for each client that connects to the echo server. In a loop, it reads input from a socket and echos the input back to the same socket. All of this, including the loop, is implemented with generic async algorithms.
298+
Below, I show the part of the echo server code. This code is executed for each client that connects to the echo server. In a loop, it reads input from a socket and echos the input back to the same socket. All of this, including the loop, is implemented with generic async algorithms.
299299
300300
<pre highlight="c++">
301301
outstanding.start(
@@ -556,7 +556,7 @@ implementing one. The `inline_scheduler`:
556556
on the receiver, passing any exceptions to `std::execution::set_error` as an
557557
`exception_ptr`.
558558
559-
### Single Thread Scheduler ### {#example-single-thread}
559+
### Single thread scheduler ### {#example-single-thread}
560560
561561
This example shows how to create a scheduler for an execution context that consists of a single
562562
thread. It is implemented in terms of a lower-level execution context called `manual_event_loop`.

0 commit comments

Comments
 (0)