diff options
| author | thebirk <pingnor@gmail.com> | 2019-08-26 20:23:52 +0200 |
|---|---|---|
| committer | thebirk <pingnor@gmail.com> | 2019-08-26 20:23:52 +0200 |
| commit | 6a8b3fee38b3bb05ffc599d619e78472ad8b56a0 (patch) | |
| tree | 0578803db2821f90be7ffda089eda583d4c94e4c /src/parser.cpp | |
| parent | 4551521b2cc461d89d9d69ea441ae311a8607f94 (diff) | |
Removed gb_thread_set_name because it segfaults on linux.
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 97715b10e..70cc37433 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -4789,6 +4789,7 @@ ParseFileError parse_packages(Parser *p, String init_filename) { data->err = ParseFile_None; data->should_exit = false; data->error_available = false; + data->is_working = false; } defer(for_array(i, worker_threads_data) { ParserWorkerThreadData *data = &worker_threads_data[i]; @@ -4802,9 +4803,9 @@ ParseFileError parse_packages(Parser *p, String init_filename) { for_array(i, worker_threads) { gbThread *t = &worker_threads[i]; gb_thread_init(t); - char buffer[64]; - gb_snprintf(buffer, 64, "Parser Worker #%ll", i); - gb_thread_set_name(t, buffer); + //char buffer[64]; + //gb_snprintf(buffer, 64, "Parser Worker #%ll", i); + //gb_thread_set_name(t, buffer); gb_thread_start(t, parse_worker_file_proc, &worker_threads_data[i]); } defer(for_array(i, worker_threads) { |