mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-26 15:34:59 -07:00
ThreadPool for the parser
This commit is contained in:
@@ -141,6 +141,19 @@ struct Parser {
|
||||
gbMutex file_decl_mutex;
|
||||
};
|
||||
|
||||
|
||||
gb_global ThreadPool parser_thread_pool = {};
|
||||
|
||||
struct ParserWorkerData {
|
||||
Parser *parser;
|
||||
ImportedFile imported_file;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
enum ProcInlining {
|
||||
ProcInlining_none = 0,
|
||||
ProcInlining_inline = 1,
|
||||
|
||||
Reference in New Issue
Block a user