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 10897
10897
void arrive_and_drop();
10898
10898
10899
10899
private:
10900
- CompletionFunction completion; // \expos
10900
+ CompletionFunction @ \exposid { completion}@ ; // \expos
10901
10901
};
10902
10902
}
10903
10903
\end {codeblock }
10934
10934
The \defn {phase completion step}
10935
10935
that is executed at the end of each phase has the following effects:
10936
10936
\begin {itemize }
10937
- \item Invokes the completion function, equivalent to \tcode {completion()}.
10937
+ \item Invokes the completion function, equivalent to \tcode {\exposid { completion} ()}.
10938
10938
\item Unblocks all threads that are blocked on the phase synchronization point.
10939
10939
\end {itemize }
10940
10940
The end of the completion step strongly happens before
10962
10962
in addition to satisfying the requirements of \tcode {CompletionFunction},
10963
10963
it meets the \oldconcept {DefaultConstructible}
10964
10964
requirements (\tref {cpp17.defaultconstructible }) and
10965
- \tcode {completion()} has no effects.
10965
+ \tcode {\exposid { completion} ()} has no effects.
10966
10966
10967
10967
\pnum
10968
10968
\tcode {barrier::arrival_token} is an unspecified type,
10998
10998
\effects
10999
10999
Sets both the initial expected count for each barrier phase and
11000
11000
the 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)}.
11002
11002
Starts the first phase.
11003
11003
\begin {note }
11004
11004
If \tcode {expected} is 0 this object can only be destroyed.
You can’t perform that action at this time.
0 commit comments