Skip to content

Commit

Permalink
🎨 threadpools win fix again and again and again and again and again a…
Browse files Browse the repository at this point in the history
…nd again
  • Loading branch information
fennecdjay committed Sep 25, 2023
1 parent b9387e0 commit 01ab25a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/threadpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ ANN static inline void gwt_join(gwtthread_t thread) {
ANN static inline void gwt_lock_end(gwtlock_t *lock) {
return DeleteCriticalSection(*lock);
}
ANN static inline void gwt_lock_ini(gwtlock_t *lock) {
return InitializeCriticalSection(*lock);
ANN static inline int gwt_lock_ini(gwtlock_t *lock) {
InitializeCriticalSection(*lock);
return 0;
}
ANN static inline int gwt_cond_end(gwtcond_t *cond NUSED) { return 0;}
ANN static inline int gwt_cond_ini(gwtcond_t *cond) {
Expand Down

0 comments on commit 01ab25a

Please sign in to comment.