Skip to content

Commit 398dfb5

Browse files
jensmaurerzygoloid
authored andcommitted
[futures.async] Avoid note within a sentence.
1 parent a331285 commit 398dfb5

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

source/threads.tex

+6-16
Original file line numberDiff line numberDiff line change
@@ -7164,25 +7164,15 @@
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,
71837174
so its completion might never happen.
71847175
\end{note}
7185-
\end{itemize}
71867176

71877177
If the implementation chooses the \tcode{launch::async} policy,
71887178
\begin{itemize}

0 commit comments

Comments
 (0)