Guarantee that thread-local storage destructors run before join() returns #127571
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-thread
Area: `std::thread`
A-thread-locals
Area: Thread local storage (TLS)
C-discussion
Category: Discussion or questions that doesn't represent real issues.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
As discussed in #116237 (comment), this is already the implemented behaviour but it is not guaranteed. Unless there is a good reason not to, this guarantee should be made and documented.
The text was updated successfully, but these errors were encountered: