Re: std::launch::async implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 27 Dec 2023, 11:33 Taras Sich via Gcc-help, <gcc-help@xxxxxxxxxxx>
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
>



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux