File tree 1 file changed +6
-16
lines changed
1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change 7164
7164
7165
7165
\pnum
7166
7166
\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.
7172
7170
\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,
7183
7174
so its completion might never happen.
7184
7175
\end {note }
7185
- \end {itemize }
7186
7176
7187
7177
If the implementation chooses the \tcode {launch::async} policy,
7188
7178
\begin {itemize }
You can’t perform that action at this time.
0 commit comments