17 Dec
2016
17 Dec
'16
9:29 p.m.
On Sat, Dec 17, 2016 at 9:17 PM, Niall Douglas
Specifically:
1. Should Stacktrace be async safe so it can be used to print a stacktrace from a signal/exception handler?
That depends on whether any backend supports decoding the stacktrace in signal handlers. Note that if we also want to load debug symbols from a separate file while doing this, the task seems to become impossible.
2. Is its lack of thread safety on Windows a problem?
Yes, I think that is a serious problem. Though I'm not sure if Boost.Stacktrace can do something about it, except to introduce a global lock (sigh).