Skip to content

Commit

Permalink
pool->locks is volatile int without omp (though not used)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadenSmith committed Sep 26, 2016
1 parent f97221c commit 12049cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mutex_pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ typedef struct

#ifdef _OPENMP
omp_lock_t * locks;
#else
volatile int * locks;
#endif
} mutex_pool;

Expand Down

0 comments on commit 12049cc

Please sign in to comment.