Skip to content

Commit aab09ec

Browse files
committed
[exec.run.loop] update run_loop count representation to use code format
1 parent 98ce5ac commit aab09ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/exec.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6485,7 +6485,7 @@
64856485
\begin{itemdescr}
64866486
\pnum
64876487
\ensures
6488-
The \tcode{run_loop} instance's count is 0 and
6488+
The \tcode{run_loop} instance's count is \tcode{0} and
64896489
its state is starting.
64906490
\end{itemdescr}
64916491

@@ -6497,7 +6497,7 @@
64976497
\begin{itemdescr}
64986498
\pnum
64996499
\effects
6500-
If the \tcode{run_loop} instance's count is not 0 or
6500+
If the \tcode{run_loop} instance's count is not \tcode{0} or
65016501
if its state is running,
65026502
invokes \tcode{terminate}\iref{except.terminate}.
65036503
Otherwise, has no effects.
@@ -6515,11 +6515,11 @@
65156515
Blocks\iref{defns.block} until one of the following conditions is \tcode{true}:
65166516
\begin{itemize}
65176517
\item
6518-
The \tcode{run_loop} instance's count is 0 and its state is finishing,
6518+
The \tcode{run_loop} instance's count is \tcode{0} and its state is finishing,
65196519
in which case \exposid{pop-front} sets the state to finished
65206520
and returns \tcode{nullptr}; or
65216521
\item
6522-
the \tcode{run_loop} instance's count is greater than 0,
6522+
the \tcode{run_loop} instance's count is greater than \tcode{0},
65236523
in which case an item is removed from the front of the queue,
65246524
the count is decremented by \tcode{1}, and
65256525
the removed item is returned.
@@ -6534,7 +6534,7 @@
65346534
\pnum
65356535
\effects
65366536
Adds \tcode{item} to the back of the queue and
6537-
increments the \tcode{run_loop} instance's count by 1.
6537+
increments the \tcode{run_loop} instance's count by \tcode{1}.
65386538

65396539
\pnum
65406540
\sync

0 commit comments

Comments
 (0)