Skip to content

Commit 60723e1

Browse files
jwakelyStefanus Du Toit
authored andcommitted
LWG2140 Meaning of notify_all_at_thread_exit synchronization requirement?
1 parent d8bfe85 commit 60723e1

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

source/threads.tex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2734,10 +2734,8 @@
27342734
\end{codeblock}
27352735

27362736
\pnum
2737-
\sync The call to \tcode{notify_all_at_thread_exit} and the completion of the
2738-
destructors for all the current thread's variables of thread storage
2739-
duration synchronize with~(\ref{intro.multithread}) calls to functions
2740-
waiting on \tcode{cond}.
2737+
\sync The implied \tcode{lk.unlock()} call is sequenced after the destruction of
2738+
all objects with thread storage duration associated with the current thread.
27412739

27422740
\pnum
27432741
\realnote The supplied lock will be held until the thread exits, and care

0 commit comments

Comments
 (0)