File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change 71647164
71657165\pnum
71667166\sync
7167- Regardless of the provided \tcode {policy} argument,
7168- \begin {itemize }
7169- \item
7170- the invocation of \tcode {async}
7171- synchronizes with\iref {intro.multithread } the invocation of \tcode {f}.
7167+ The invocation of \tcode {async} synchronizes with the invocation of \tcode {f}.
7168+ The completion of the function \tcode {f} is sequenced before
7169+ the shared state is made ready.
71727170\begin {note }
7173- This statement applies even when the corresponding \tcode {future} object is moved to
7174- another thread.
7175- \end {note }
7176- ; and
7177-
7178- \item
7179- the completion of the function \tcode {f} is sequenced before\iref {intro.multithread } the
7180- shared state is made ready.
7181- \begin {note }
7182- \tcode {f} might not be called at all,
7171+ These apply regardless of the provided \tcode {policy} argument, and
7172+ even if the corresponding \tcode {future} object is moved to another thread.
7173+ However, \tcode {f} might not be called at all,
71837174so its completion might never happen.
71847175\end {note }
7185- \end {itemize }
71867176
71877177If the implementation chooses the \tcode {launch::async} policy,
71887178\begin {itemize }
You can’t perform that action at this time.
0 commit comments