mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-05 03:44:45 -04:00
Thread pool fix on Win32
This commit is contained in:
1 parent
1f25f60a68
commit
b878be6f79
1 file changed
+5
-1
+5
-1
@@ -16,7 +16,11 @@ struct WorkerTask {
|
||||
};
|
||||
|
||||
struct ThreadPool {
|
||||
volatile i32 outstanding_task_count;
|
||||
#if defined(GB_SYSTEM_WINDOWS)
|
||||
volatile LONG outstanding_task_count;
|
||||
#else
|
||||
volatile isize outstanding_task_count;
|
||||
#endif
|
||||
WorkerTask *next_task;
|
||||
BlockingMutex task_list_mutex;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user