aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2021-08-22 22:55:31 +0100
committerGitHub <noreply@github.com>2021-08-22 22:55:31 +0100
commit5a2d582a099e637b9799bc9baa4a30ea22bccacd (patch)
tree197871b9e49969c93ca22b420156ab36d6b64ec5 /src/parser.cpp
parent2e921c88fb5d1bcec267a107279dbbe290c9efd3 (diff)
parentb878be6f7998b9ec65716632cadc4c77f41309dc (diff)
Merge pull request #1095 from nakst/master
Rewrite thread_pool.cpp
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 2c29f651a..9d9d6120f 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -5685,8 +5685,7 @@ ParseFileError parse_packages(Parser *p, String init_filename) {
}
}
- thread_pool_start(&parser_thread_pool);
- thread_pool_wait_to_process(&parser_thread_pool);
+ thread_pool_wait(&parser_thread_pool);
for (ParseFileError err = ParseFile_None; mpmc_dequeue(&p->file_error_queue, &err); /**/) {
if (err != ParseFile_None) {