mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-20 16:36:46 +00:00
Implement MPMCQueue for procedure body checking
This is preparation for basic multithreading in the semantic checker
This commit is contained in:
+2
-3
@@ -351,11 +351,10 @@ struct Checker {
|
||||
|
||||
CheckerContext builtin_ctx;
|
||||
|
||||
|
||||
gbMutex procs_to_check_mutex;
|
||||
gbMutex procs_with_deferred_to_check_mutex;
|
||||
Array<ProcInfo *> procs_to_check;
|
||||
Array<Entity *> procs_with_deferred_to_check;
|
||||
|
||||
MPMCQueue<ProcInfo *> procs_to_check_queue;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user