Browse Source

re-enable queue struct members related to locking

tags/v0.3.28^2
Martin Kroeker GitHub 1 year ago
parent
commit
abff4baa4d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      common_thread.h

+ 2
- 2
common_thread.h View File

@@ -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;


Loading…
Cancel
Save