diff options
| author | thebirk <pingnor@gmail.com> | 2019-08-29 20:34:09 +0200 |
|---|---|---|
| committer | thebirk <pingnor@gmail.com> | 2019-08-29 20:34:09 +0200 |
| commit | 4dade346033bc3d19879bee1823abf3d9e230281 (patch) | |
| tree | 1a295d8f5b7a72346d25c6d03fb55e8114e2c449 /src | |
| parent | d76249d90b4d2812c2d8c2d25d854a3e9361b510 (diff) | |
Removed unused semaphore on Parser.
Diffstat (limited to 'src')
| -rw-r--r-- | src/parser.cpp | 2 | ||||
| -rw-r--r-- | src/parser.hpp | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 3fc999a2c..f08688b5f 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -4062,7 +4062,6 @@ bool init_parser(Parser *p) { array_init(&p->files_to_process, heap_allocator()); gb_mutex_init(&p->file_add_mutex); gb_mutex_init(&p->file_decl_mutex); - gb_semaphore_init(&p->worker_finished_semaphore); return true; } @@ -4088,7 +4087,6 @@ void destroy_parser(Parser *p) { map_destroy(&p->package_map); gb_mutex_destroy(&p->file_add_mutex); gb_mutex_destroy(&p->file_decl_mutex); - gb_semaphore_destroy(&p->worker_finished_semaphore); } diff --git a/src/parser.hpp b/src/parser.hpp index f1bbd8784..3489f1a9b 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -139,7 +139,6 @@ struct Parser { isize total_line_count; gbMutex file_add_mutex; gbMutex file_decl_mutex; - gbSemaphore worker_finished_semaphore; }; enum ProcInlining { |