
18 Dec
2016
18 Dec
'16
11:13 p.m.
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.