Skip to content

Commit 21aaef1

Browse files
committed
[exec.run.loop] Remove code font formatting for count and state
Fixes NB US 231-361 (C++26 CD).
1 parent 322d380 commit 21aaef1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/exec.tex

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6487,7 +6487,7 @@
64876487
\begin{itemdescr}
64886488
\pnum
64896489
\ensures
6490-
\exposid{count} is \tcode{0} and \exposid{state} is \exposid{starting}.
6490+
Count is \tcode{0} and state is starting.
64916491
\end{itemdescr}
64926492

64936493
\indexlibrarydtor{run_loop}%
@@ -6498,7 +6498,7 @@
64986498
\begin{itemdescr}
64996499
\pnum
65006500
\effects
6501-
If \exposid{count} is not \tcode{0} or if \exposid{state} is \exposid{running},
6501+
If count is not \tcode{0} or if state is running,
65026502
invokes \tcode{terminate}\iref{except.terminate}.
65036503
Otherwise, has no effects.
65046504
\end{itemdescr}
@@ -6515,13 +6515,13 @@
65156515
Blocks\iref{defns.block} until one of the following conditions is \tcode{true}:
65166516
\begin{itemize}
65176517
\item
6518-
\exposid{count} is \tcode{0} and \exposid{state} is \exposid{finishing},
6519-
in which case \exposid{pop-front} sets \exposid{state} to \exposid{finished}
6518+
Count is \tcode{0} and state is finishing,
6519+
in which case \exposid{pop-front} sets state to finished
65206520
and returns \tcode{nullptr}; or
65216521
\item
6522-
\exposid{count} is greater than \tcode{0},
6522+
count is greater than \tcode{0},
65236523
in which case an item is removed from the front of the queue,
6524-
\exposid{count} is decremented by \tcode{1}, and
6524+
count is decremented by \tcode{1}, and
65256525
the removed item is returned.
65266526
\end{itemize}
65276527
\end{itemdescr}
@@ -6534,7 +6534,7 @@
65346534
\pnum
65356535
\effects
65366536
Adds \tcode{item} to the back of the queue and
6537-
increments \exposid{count} by \tcode{1}.
6537+
increments count by \tcode{1}.
65386538

65396539
\pnum
65406540
\sync
@@ -6562,13 +6562,13 @@
65626562
\begin{itemdescr}
65636563
\pnum
65646564
\expects
6565-
\exposid{state} is either \exposid{starting} or \exposid{finishing}.
6565+
State is either starting or finishing.
65666566

65676567
\pnum
65686568
\effects
6569-
If \exposid{state} is \exposid{starting},
6570-
sets the \exposid{state} to \exposid{running},
6571-
otherwise leaves \exposid{state} unchanged.
6569+
If state is starting,
6570+
sets the state to running,
6571+
otherwise leaves state unchanged.
65726572
Then, equivalent to:
65736573
\begin{codeblock}
65746574
while (auto* op = @\exposid{pop-front}@()) {
@@ -6578,7 +6578,7 @@
65786578

65796579
\pnum
65806580
\remarks
6581-
When \exposid{state} changes, it does so without introducing data races.
6581+
When state changes, it does so without introducing data races.
65826582
\end{itemdescr}
65836583

65846584
\indexlibrarymember{finish}{run_loop}%
@@ -6589,11 +6589,11 @@
65896589
\begin{itemdescr}
65906590
\pnum
65916591
\expects
6592-
\exposid{state} is either \exposid{starting} or \exposid{running}.
6592+
state is either starting or running.
65936593

65946594
\pnum
65956595
\effects
6596-
Changes \exposid{state} to \exposid{finishing}.
6596+
Changes state to finishing.
65976597

65986598
\pnum
65996599
\sync

0 commit comments

Comments
 (0)