mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 20:58:15 +00:00
Remove global semaphore and place in CheckerInfo
This commit is contained in:
@@ -293,6 +293,8 @@ struct CheckerInfo {
|
||||
// NOTE(bill): If the semantic checker (check_proc_body) is to ever to be multithreaded,
|
||||
// these variables will be of contention
|
||||
|
||||
gbSemaphore collect_semaphore;
|
||||
|
||||
// NOT recursive & Only used at the end of `check_proc_body`
|
||||
// This is a possible source of contention but probably not
|
||||
// too much of a problem in practice
|
||||
|
||||
Reference in New Issue
Block a user