mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Removed unused semaphore on Parser.
This commit is contained in:
@@ -4062,7 +4062,6 @@ bool init_parser(Parser *p) {
|
|||||||
array_init(&p->files_to_process, heap_allocator());
|
array_init(&p->files_to_process, heap_allocator());
|
||||||
gb_mutex_init(&p->file_add_mutex);
|
gb_mutex_init(&p->file_add_mutex);
|
||||||
gb_mutex_init(&p->file_decl_mutex);
|
gb_mutex_init(&p->file_decl_mutex);
|
||||||
gb_semaphore_init(&p->worker_finished_semaphore);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4088,7 +4087,6 @@ void destroy_parser(Parser *p) {
|
|||||||
map_destroy(&p->package_map);
|
map_destroy(&p->package_map);
|
||||||
gb_mutex_destroy(&p->file_add_mutex);
|
gb_mutex_destroy(&p->file_add_mutex);
|
||||||
gb_mutex_destroy(&p->file_decl_mutex);
|
gb_mutex_destroy(&p->file_decl_mutex);
|
||||||
gb_semaphore_destroy(&p->worker_finished_semaphore);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -139,7 +139,6 @@ struct Parser {
|
|||||||
isize total_line_count;
|
isize total_line_count;
|
||||||
gbMutex file_add_mutex;
|
gbMutex file_add_mutex;
|
||||||
gbMutex file_decl_mutex;
|
gbMutex file_decl_mutex;
|
||||||
gbSemaphore worker_finished_semaphore;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ProcInlining {
|
enum ProcInlining {
|
||||||
|
|||||||
Reference in New Issue
Block a user