From faf43d2c4b6cb73669c9759c9d5a7e919e3af390 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Fri, 24 Jan 2020 19:30:32 +0100 Subject: [PATCH] Comment out Windows debugging code, for now --- simgear/threads/SGThread.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/simgear/threads/SGThread.cxx b/simgear/threads/SGThread.cxx index cbf1312e..4c618b99 100644 --- a/simgear/threads/SGThread.cxx +++ b/simgear/threads/SGThread.cxx @@ -95,8 +95,8 @@ struct SGWaitCondition::PrivateData { #ifndef NDEBUG # if _WIN32 - native_handle_type *m = mutex.native_handle(); - assert(m->LockCount == 0); +// native_handle_type *m = mutex.native_handle(); +// assert(m->LockCount == 0); # else pthread_mutex_t *m = mutex.native_handle(); assert(m->__data.__count == 0); @@ -119,8 +119,8 @@ struct SGWaitCondition::PrivateData { #ifndef NDEBUG # if _WIN32 - native_handle_type *m = mutex.native_handle(); - assert(m->LockCount == 0); +// native_handle_type *m = mutex.native_handle(); +// assert(m->LockCount == 0); # else pthread_mutex_t *m = mutex.native_handle(); assert(m->__data.__count == 0);