From abff4baa4d59060c482dfc726fef438e71472315 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 2 Aug 2024 16:37:01 +0200 Subject: [PATCH] re-enable queue struct members related to locking --- common_thread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common_thread.h b/common_thread.h index d37fcb1895..4a8db682bf 100644 --- a/common_thread.h +++ b/common_thread.h @@ -111,8 +111,8 @@ typedef struct blas_queue { struct blas_queue *next; #if defined( __WIN32__) || defined(__CYGWIN32__) || defined(_WIN32) || defined(__CYGWIN__) - // CRITICAL_SECTION lock; - // HANDLE finish; + CRITICAL_SECTION lock; + HANDLE finish; volatile int finished; #else pthread_mutex_t lock;