File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 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
64896489its state is starting.
64906490\end {itemdescr }
64916491
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
65016501if its state is running,
65026502invokes \tcode {terminate}\iref {except.terminate }.
65036503Otherwise, has no effects.
65156515Blocks\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,
65196519in which case \exposid {pop-front} sets the state to finished
65206520and 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} ,
65236523in which case an item is removed from the front of the queue,
65246524the count is decremented by \tcode {1}, and
65256525the removed item is returned.
65346534\pnum
65356535\effects
65366536Adds \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
You can’t perform that action at this time.
0 commit comments