Thank you for the clarification! On Wed, 27 Dec 2023 at 20:27, Jonathan Wakely wrote: > > > On Wed, 27 Dec 2023, 11:33 Taras Sich via Gcc-help, > wrote: > >> Dear GCC team, >> >> Could you please clarify whether the implementation of std::launch::async >> uses a thread pool? >> > > It does not, because that's not conforming. The standard says the function > has to be run in a new thread, not a reused one. The difference is > observable by using thread-specific variables. > > > > I'm particularly interested in the implementation for Fedora 33. >> Have not found the behavior description in the documentation. >> >> Best regards, >> Taras >> >