File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1089810898 void arrive_and_drop();
1089910899
1090010900 private:
10901- CompletionFunction completion; // \expos
10901+ CompletionFunction @ \exposid { completion}@ ; // \expos
1090210902 };
1090310903}
1090410904\end {codeblock }
1093510935The \defn {phase completion step}
1093610936that is executed at the end of each phase has the following effects:
1093710937\begin {itemize }
10938- \item Invokes the completion function, equivalent to \tcode {completion()}.
10938+ \item Invokes the completion function, equivalent to \tcode {\exposid { completion} ()}.
1093910939\item Unblocks all threads that are blocked on the phase synchronization point.
1094010940\end {itemize }
1094110941The end of the completion step strongly happens before
1096310963in addition to satisfying the requirements of \tcode {CompletionFunction},
1096410964it meets the \oldconcept {DefaultConstructible}
1096510965requirements (\tref {cpp17.defaultconstructible }) and
10966- \tcode {completion()} has no effects.
10966+ \tcode {\exposid { completion} ()} has no effects.
1096710967
1096810968\pnum
1096910969\tcode {barrier::arrival_token} is an unspecified type,
1099910999\effects
1100011000Sets both the initial expected count for each barrier phase and
1100111001the current expected count for the first phase to \tcode {expected}.
11002- Initializes \tcode {completion} with \tcode {std::move(f)}.
11002+ Initializes \exposid {completion} with \tcode {std::move(f)}.
1100311003Starts the first phase.
1100411004\begin {note }
1100511005If \tcode {expected} is 0 this object can only be destroyed.
You can’t perform that action at this time.
0 commit comments