New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P0493 R5 Atomic maximum/minimum #866
Comments
Continue the discussion of early bail offline (idempotent operations being said to be non-synchronizing while allowing strengthening as well). Want an atomic min/max operation. We want this operation (with the semantics we determine are right) to be called fetch_min/max. |
P0493R2 Atomic maximum/minimum (Al Grant, Bronek Kozicki) |
The paper was seen by LEWG ML review. summary:
I didn't recognize objections to the proposal. |
A Library Evolution motion was made to advance this paper directly to electronic polling. The motion failed; additional Library Evolution and Concurrency (SG1) discussion is needed. |
Why not also for floating point atomics? I mean min/max are useful there too, and this isn't functionally really different from atomic_add/sub which we did provide in C++20. |
We also may need to extend atomic_ref with the corresponding thing to keep atomic and atomic_ref in sync? |
This issue tracker is intended exclusively for paper management and organization. Any technical discussion about a paper's content should go to the appropriate committee reflector or be raised at a face-to-face meeting (if any). |
@crtrott - you are most welcome to send your input on the mail thread "LEWG(I) Weekly review - P0493R2: Atomic maximum/minimum" |
LWG reviewed and approved in Issaquah https://wiki.edg.com/bin/view/Wg21issaquah2023/P0493R4-20230209 poll: adopt P0493R4 for C++26?
|
P0493R4 Atomic maximum/minimum (Al Grant, Al Grant, Bronek Kozicki, Tim Northover) |
This was pulled from the polls in Varna, and there are some questions regarding min/max for floating-point types that need to be resolved (either by a new revision of this paper, or by another paper). |
Needs a revision to apply feedback from this thread: https://lists.isocpp.org/lib-ext/2024/01/26442.php |
P0493R5 Atomic maximum/minimum (Al Grant, Al Grant, Bronek Kozicki, Tim Northover) |
P0493R1 Atomic maximum/minimum (Al Grant, Bronek Kozicki)
The text was updated successfully, but these errors were encountered: