C++ Logo

std-proposals

Advanced search

Re: Signals & Slots

From: Antoine Viallon <antoine_at_[hidden]>
Date: Mon, 26 Jul 2021 12:36:48 +0200
On CLI applications, they are almost mandatory to use!
If you do not catch them, the OS can kill your process "brutally" before you can clean things up…



-------- Courriel d’origine --------
De : Thiago Macieira via Std-Proposals <std-proposals_at_[hidden]>
Envoyé : 23 juillet 2021 22:29:09 GMT+02:00
À : std-proposals_at_[hidden], Phil Bouchard <boost_at_[hidden]>
Cc : Thiago Macieira <thiago_at_[hidden]>
Objet : Re: [std-proposals] Signals & Slots

On Friday, 23 July 2021 13:22:14 PDT Phil Bouchard wrote:
> You could mimic and abstract to a certain point the POSIX signals as well
> (which are pretty messy in a multithreaded environment when you apply some
> masks in some specific thread).

Let POSIX / Unix signals die a silent death. Don't use it for any new
application or any new use-case.

Received on 2021-07-26 05:36:56