Date: Mon, 18 Sep 2023 08:54:41 +0300
Hi,
We already have this (similar) facility in the standard via std::async -
https://godbolt.org/z/dTsbP1Ksx
Regards,
Pavel.
On Mon, Sep 18, 2023 at 6:50 AM Phil Bouchard via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> Greetings,
>
> Please find attached a very simple class but extremely useful for adding
> into the stdlib. It's just a std::thread and std::exception_ptr wrapper for
> the multithreading developers around here.
>
> Ideally the compiler would do the redirection implicitly as well, within
> the child thread.
>
>
> Regards,
> --
> [image: Logo] <https://www.fornux.com/>
> *Phil Bouchard* [image: facebook icon]
> <https://www.linkedin.com/in/phil-bouchard-5723a910/>
> Founder & CEO
> T: (819) 328-4743
> E: phil_at_[hidden] | www.fornux.com
> 320-345 de la Gauchetière Ouest | Montréal (Qc), H2Z 0A2 Canada
> [image: Banner] <https://goglobalawards.org/> Le message ci-dessus, ainsi
> que les documents l'accompagnant, sont destinés uniquement aux personnes
> identifiées et peuvent contenir des informations privilégiées,
> confidentielles ou ne pouvant être divulguées. Si vous avez reçu ce message
> par erreur, veuillez le détruire.
> This communication (and/or the attachments) is intended for named
> recipients only and may contain privileged or confidential information
> which is not to be disclosed. If you received this communication by mistake
> please destroy all copies.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
We already have this (similar) facility in the standard via std::async -
https://godbolt.org/z/dTsbP1Ksx
Regards,
Pavel.
On Mon, Sep 18, 2023 at 6:50 AM Phil Bouchard via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> Greetings,
>
> Please find attached a very simple class but extremely useful for adding
> into the stdlib. It's just a std::thread and std::exception_ptr wrapper for
> the multithreading developers around here.
>
> Ideally the compiler would do the redirection implicitly as well, within
> the child thread.
>
>
> Regards,
> --
> [image: Logo] <https://www.fornux.com/>
> *Phil Bouchard* [image: facebook icon]
> <https://www.linkedin.com/in/phil-bouchard-5723a910/>
> Founder & CEO
> T: (819) 328-4743
> E: phil_at_[hidden] | www.fornux.com
> 320-345 de la Gauchetière Ouest | Montréal (Qc), H2Z 0A2 Canada
> [image: Banner] <https://goglobalawards.org/> Le message ci-dessus, ainsi
> que les documents l'accompagnant, sont destinés uniquement aux personnes
> identifiées et peuvent contenir des informations privilégiées,
> confidentielles ou ne pouvant être divulguées. Si vous avez reçu ce message
> par erreur, veuillez le détruire.
> This communication (and/or the attachments) is intended for named
> recipients only and may contain privileged or confidential information
> which is not to be disclosed. If you received this communication by mistake
> please destroy all copies.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
Received on 2023-09-18 05:54:55