mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-04 05:40:13 -05:00
Add debugging of mutexes (#1470)
When DEBUG defined it will used timed locks which will log when held too long along with where.
This commit is contained in:
parent
4b751c2d37
commit
92312c8507
15 changed files with 352 additions and 432 deletions
7
libfuse/include/mutex.hpp
Normal file
7
libfuse/include/mutex.hpp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef DEBUG
|
||||
#include "mutex_debug.hpp"
|
||||
#else
|
||||
#include "mutex_ndebug.hpp"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue