Comments (8)
P0660R7 Interrupt Tokens and a Joining Thread, Rev 7 (Nicolai Josuttis, Lewis Baker, Billy O’Neal, Herb Sutter, Anthony Williams)
from papers.
P0660R8 Stop Tokens and a Joining Thread (Nicolai Josuttis, Lewis Baker, Billy O’Neal, Herb Sutter, Anthony Williams)
from papers.
LEWG in Kona:
stop_source(nullptr_t) should be nostopstate_t
comparison operators should be nodiscard
jthread::get_stop_source() returns stop_source;
jthread’s exposition-only member should be stop_source.
jthread::request_stop() should not be nodiscard
Unanimous consent
naming for wait_until()
11 wait_until/wait_until/wait_for
5 wait/wait_until/wait_for
0 wait_with_stop/wait_until_with_stop/wait_for_with_stop
2 wait_interruptible/wait_until_interruptible/wait_for_interruptible
4 wait_with_stop/wait_until/wait_for
6 wait_interruptible/wait_until/wait_for
jthread::request_stop() should be non-const, so should jthread::get_stop_source(), add a jthread::get_stop_token() (const)
SF F N A SA
9 5 1 0 0
We want this for C++20 (we’ll need to resolve the above questions).
SF F N A SA
10 6 3 1 0
Make the above changes and forward to LWG for C++20.
Unanimous consent
from papers.
Discussed in SG1 in Kona:
- revise paragraph 5 of 30.4 [thread.stop_token] to only forbid data races and dropping the phrasing about atomic operations
- add "atomically" to the Effects clauses of request_stop(), stop_requested(), and stop_prossible()
- wording for Effects of ~stop_callback() (30.4.2.1 p3) 2nd and last sentence replaced by new sentence written
- reword "atmoic state" to "shared state"
SF F N A SA
5 7 2 0 0
from papers.
P0660R9 Stop Token and Joining Thread (Nicolai Josuttis, Lewis Baker, Billy O’Neal, Herb Sutter, Anthony Williams)
from papers.
D0660R10 discussed in small group on Monday in Cologne
from papers.
P0660R10 Stop Token and Joining Thread (Nicolai Josuttis, Lewis Baker, Billy O'Neal, Herb Sutter, Anthony Williams)
from papers.
Adopted 2019-07.
from papers.
Related Issues (20)
- P3331 R0 Accessing The First and Last Elements in Associative Containers
- P3332 R0 A simpler notation for Pattern Matching
- P3335 R0 Structured Core Options
- P3336 R0 Usage Experience for Contracts with BDE
- P3338 R0 Observe and ignore semantics in constant evaluation
- P3339 R0 C++ Ecosystem IS Open License HOT 1
- P3340 R0 A Consistent Grammar for Sequences HOT 1
- P3341 R0 C++ Standard Library Ready Issues to be moved in St Louis, Jun. 2024 HOT 1
- P3342 R0 Working Draft, Standard for C++ Ecosystem
- P3343 R0 Contracts - What are we doing here (EWG Presentation) HOT 1
- P3344 R0 Virtual Functions on Contracts (EWG - Presentation for P3097) HOT 1
- P3345 R0 Core Language Working Group "ready" Issues for the June, 2024 meeting
- P3351 R0 views::scan
- P3354 R0 Slides for P3233R0 HOT 1
- P3355 R0 Fix submdspan for C++26
- P3356 R0 non_invalidating_vector
- P3357 R0 NRVO with factory and after_factory
- P3358 R0 SARIF for Structured Diagnostics
- P3359 R0 Slides for P3298R0 - Implicit conversion functions HOT 1
- P3360 R0 Slides for P3312R0 - Overload Set Types HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papers.