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:
trapexit 2025-05-26 00:44:39 -05:00 • committed by GitHub
parent 4b751c2d37
commit 92312c8507
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 352 additions and 432 deletions

View file

@ -0,0 +1,7 @@
#pragma once
#ifdef DEBUG
#include "mutex_debug.hpp"
#else
#include "mutex_ndebug.hpp"
#endif