Make BlockingMutex

This commit is contained in:
gingerBill
2023-01-03 15:50:31 +00:00
parent 774fea1e63
commit dc317c8cd8

View File

@@ -356,7 +356,7 @@ struct CheckerInfo {
RecursiveMutex lazy_mutex; // Mutex required for lazy type checking of specific files
RecursiveMutex gen_procs_mutex;
BlockingMutex gen_procs_mutex;
RecursiveMutex gen_types_mutex;
PtrMap<Ast *, GenProcsData *> gen_procs; // Key: Ast * | Identifier -> Entity
PtrMap<Type *, Array<Entity *> > gen_types;