Skip to content

Commit cc589a1

Browse files
committed
Refine the warning.
1 parent 449a594 commit cc589a1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,11 @@ this object doesn't do anything. It exposes only one method:
407407
bool loaded() const // true if loaded with success
408408
```
409409

410-
**Warning:** The registered signal handlers are not signal safe and problems can
411-
arise from using this.
410+
**Warning:** The registered signal handlers are not
411+
[signal safe](https://www.man7.org/linux/man-pages/man7/signal-safety.7.html),
412+
mostly because backward-cpp and the DWARF decoding libraries are using `malloc`.
413+
In case a signal is raised while malloc is holding a lock, a deadlock will
414+
occur.
412415

413416
### Trace object
414417

0 commit comments

Comments
 (0)