Boost logo

Boost :

Subject: Re: [boost] [Stacktrace] review, please stop discussing non-Stacktrace issues
From: Peter Dimov (lists_at_[hidden])
Date: 2016-12-18 18:33:06


Gavin Lambert wrote:
> On 19/12/2016 11:57, Peter Dimov wrote:
> > ::write is async-safe. You can write it to a file or stderr or a pipe or
> > a socket.
>
> Yes, but most application code would want to do that via a common logging
> library or something which probably isn't async-safe.
>
> I'm not saying it couldn't be done, just that it increases the risk that
> application writers will do it wrong, like they've been getting signal
> handlers wrong for many years as it is.

Yeah, well, some/many will get it wrong, but how does it increase the risk?
Currently the risk stands at 100% getting it wrong.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk