C++ Logo

std-proposals

Advanced search

Re: [std-proposals] exception_thread

From: Phil Bouchard <boost_at_[hidden]>
Date: Mon, 18 Sep 2023 02:00:35 -0400
On 9/18/23 01:54, Pavel Vazharov wrote:
> Hi,
>
> We already have this (similar) facility in the standard via std::async -
> https://godbolt.org/z/dTsbP1Ksx

Interesting... thanks. The "thread" class is thus useless?

> <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] <mailto: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,
>
> --
> Logo <https://www.fornux.com/>
> *Phil Bouchard* facebook icon
> <https://www.linkedin.com/in/phil-bouchard-5723a910/>
> Founder & CEO
> T: (819) 328-4743
> E: phil_at_[hidden] <mailto:phil_at_[hidden]>| www.fornux.com
> <http://www.fornux.com>
> 320-345 de la Gauchetière Ouest| Montréal (Qc), H2Z 0A2 Canada
>
> 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] <mailto:Std-Proposals_at_[hidden]>
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
> <https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals>
>

-- 
Logo <https://www.fornux.com/>  
*Phil Bouchard*  facebook icon
<https://www.linkedin.com/in/phil-bouchard-5723a910/> 
Founder & CEO
T: (819) 328-4743
E: phil_at_[hidden]| www.fornux.com <http://www.fornux.com>
320-345 de la Gauchetière Ouest| Montréal (Qc), H2Z 0A2 Canada
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.

Received on 2023-09-18 06:00:37