From 8b4c5300623922c8b4a9b42d91727d0aca6a263a Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 16 Aug 2023 11:02:09 +0100 Subject: Disable HAS_VALGRIND logic for `BlockingMutex` (fixes #2703) --- src/threading.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/threading.cpp') 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_; -- cgit v1.2.3