mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
821ff80c0c
commit
89293c4ba1
1 changed files with 1 additions and 1 deletions
|
@ -1187,7 +1187,7 @@ copy_cache_from_main_thread(struct mjit_copy_job *job)
|
||||||
rb_native_cond_wait(&mjit_worker_wakeup, &mjit_engine_mutex);
|
rb_native_cond_wait(&mjit_worker_wakeup, &mjit_engine_mutex);
|
||||||
verbose(3, "Getting wakeup from client");
|
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;
|
success_p = FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue