зеркало из https://github.com/github/ruby.git
mjit_worker.c: check appropriate flag to stop
This was not intentional in r65299. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
821ff80c0c
Коммит
89293c4ba1
|
@ -1187,7 +1187,7 @@ copy_cache_from_main_thread(struct mjit_copy_job *job)
|
|||
rb_native_cond_wait(&mjit_worker_wakeup, &mjit_engine_mutex);
|
||||
verbose(3, "Getting wakeup from client");
|
||||
|
||||
if (worker_stopped) { /* for cond broadcast from stop_worker() */
|
||||
if (stop_worker_p) { /* for cond broadcast from stop_worker() */
|
||||
success_p = FALSE;
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче