Skip to content

Commit aaea74e

Browse files
dkolsen-pgijensmaurer
authored andcommitted
[atomics.ref.operations] Change Expects to Effects for atomic_ref::notify_{one,all} (#3180)
Fix an editorial issue that resulted from an incorrect merge. In the description of atomic_ref::notify_one and atomic_ref::notify_all in [atomics.ref.operations] p25 and p27, N4830 has "Expects" in both of those paragraphs. But the paper that was merged in, P1643R1 ( http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1643r1.html ) has "Effects". "Effects" is correct, and it matches notify_one and notify_all in the four other atomics-related classes.
1 parent f30cb7d commit aaea74e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/atomics.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@
10631063

10641064
\begin{itemdescr}
10651065
\pnum
1066-
\expects
1066+
\effects
10671067
Unblocks the execution of at least one atomic waiting operation on \tcode{*ptr}
10681068
that is eligible to be unblocked\iref{atomics.wait} by this call,
10691069
if any such atomic waiting operations exist.
@@ -1081,7 +1081,7 @@
10811081

10821082
\begin{itemdescr}
10831083
\pnum
1084-
\expects
1084+
\effects
10851085
Unblocks the execution of all atomic waiting operations on \tcode{*ptr}
10861086
that are eligible to be unblocked\iref{atomics.wait} by this call.
10871087

0 commit comments

Comments
 (0)