2 ms·
1. signal-safe and async-safe/thread-safe is not quite the same thing, but fair enough. 2. The boost::stacktrace library (on which the standardization was most
by einpoklum 3y ago
1. signal-safe and async-safe/thread-safe is not quite the same thing, but fair enough.
2. The boost::stacktrace library (on which the standardization was mostly based IIANM) has a `safe_dump_to()` function for these cases.
See here: https://github.com/boostorg/stacktrace/blob/develop/include/boost/stacktrace/safe_dump_to.hpp#L81 https://github.com/boostorg/stacktrace/blob/develop/include/...