diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2021-08-22 22:55:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-22 22:55:31 +0100 |
| commit | 5a2d582a099e637b9799bc9baa4a30ea22bccacd (patch) | |
| tree | 197871b9e49969c93ca22b420156ab36d6b64ec5 /src/parser.cpp | |
| parent | 2e921c88fb5d1bcec267a107279dbbe290c9efd3 (diff) | |
| parent | b878be6f7998b9ec65716632cadc4c77f41309dc (diff) | |
Merge pull request #1095 from nakst/master
Rewrite thread_pool.cpp
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 3 |
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) { |