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 1089710897 void arrive_and_drop();
1089810898
1089910899 private:
10900- CompletionFunction completion; // \expos
10900+ CompletionFunction @ \exposid { completion}@ ; // \expos
1090110901 };
1090210902}
1090310903\end {codeblock }
1093410934The \defn {phase completion step}
1093510935that is executed at the end of each phase has the following effects:
1093610936\begin {itemize }
10937- \item Invokes the completion function, equivalent to \tcode {completion()}.
10937+ \item Invokes the completion function, equivalent to \tcode {\exposid { completion} ()}.
1093810938\item Unblocks all threads that are blocked on the phase synchronization point.
1093910939\end {itemize }
1094010940The end of the completion step strongly happens before
1096210962in addition to satisfying the requirements of \tcode {CompletionFunction},
1096310963it meets the \oldconcept {DefaultConstructible}
1096410964requirements (\tref {cpp17.defaultconstructible }) and
10965- \tcode {completion()} has no effects.
10965+ \tcode {\exposid { completion} ()} has no effects.
1096610966
1096710967\pnum
1096810968\tcode {barrier::arrival_token} is an unspecified type,
1099810998\effects
1099910999Sets both the initial expected count for each barrier phase and
1100011000the current expected count for the first phase to \tcode {expected}.
11001- Initializes \tcode {completion} with \tcode {std::move(f)}.
11001+ Initializes \exposid {completion} with \tcode {std::move(f)}.
1100211002Starts the first phase.
1100311003\begin {note }
1100411004If \tcode {expected} is 0 this object can only be destroyed.
You can’t perform that action at this time.
0 commit comments