aboutsummaryrefslogtreecommitdiff
path: root/src/threading.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-08-16 11:02:09 +0100
committergingerBill <bill@gingerbill.org>2023-08-16 11:02:09 +0100
commit8b4c5300623922c8b4a9b42d91727d0aca6a263a (patch)
tree1ce12c1f5c07d84cd4e5b04894e02602dca3d491 /src/threading.cpp
parent9ff9587b7b4b842fc69ed6d0287d4ee0289ac946 (diff)
Disable HAS_VALGRIND logic for `BlockingMutex` (fixes #2703)
Diffstat (limited to 'src/threading.cpp')
-rw-r--r--src/threading.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/threading.cpp b/src/threading.cpp
index 61be371c3..3ddc05b0a 100644
--- a/src/threading.cpp
+++ b/src/threading.cpp
@@ -276,12 +276,12 @@ gb_internal void semaphore_wait(Semaphore *s) {
struct BlockingMutex {
#if defined(HAS_VALGRIND)
- BlockingMutex() {
- VALGRIND_HG_MUTEX_INIT_POST(this, 0);
- }
- ~BlockingMutex() {
- VALGRIND_HG_MUTEX_DESTROY_PRE(this);
- }
+ // BlockingMutex() {
+ // VALGRIND_HG_MUTEX_INIT_POST(this, 0);
+ // }
+ // ~BlockingMutex() {
+ // VALGRIND_HG_MUTEX_DESTROY_PRE(this);
+ // }
#endif
i32 state_;