Skip to content

Commit

Permalink
Merge pull request #4835 from martin-frbg/revertwin4359
Browse files Browse the repository at this point in the history
Temporarily revert to the coarse-grained locking in the Windows thread server
  • Loading branch information
martin-frbg authored Aug 7, 2024
2 parents 3b8d7df + 6468dc1 commit 753c7eb
Show file tree
Hide file tree
Showing 2 changed files with 591 additions and 666 deletions.
4 changes: 2 additions & 2 deletions common_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading

0 comments on commit 753c7eb

Please sign in to comment.