Refactor logging core into multiple functions, support multi-line logging
[nobug.git] / doc / resourcedeadlock.txt
blob249f89c17aee2aedec8cabe43b118b4220d82934
1 Deadlock Detection
2 ~~~~~~~~~~~~~~~~~~
4 The Resource Tracker is able to detect potential deadlocks. This is done by
5 learning the relations between locks (precedence). A possible deadlock results
6 in a log message and a fatal abort. Note that only waiting on resources can
7 lead to a deadlock. Deadlock detection is implemented in the Resource Tracker
8 and active in ALPHA builds and optimized out on any other build level.
10 For details about the deadlock detection algorithm see
11 xref:deadlock_detection[Appendix: Resource Tracking Alorithm].