Browse Source
Merge pull request #4835 from martin-frbg/revertwin4359
Temporarily revert to the coarse-grained locking in the Windows thread server
tags/v0.3.28^2
Martin Kroeker
GitHub
1 year ago
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
591 additions and
666 deletions
-
common_thread.h
-
driver/others/blas_server_win32.c
|
|
@@ -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; |
|
|
|