mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 01:14:40 +00:00
Thread pool fix on Win32
This commit is contained in:
@@ -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