ruby-changes:53086
From: k0kubun <ko1@a...>
Date: Mon, 22 Oct 2018 18:48:47 +0900 (JST)
Subject: [ruby-changes:53086] k0kubun:r65300 (trunk): mjit_worker.c: check appropriate flag to stop
k0kubun 2018-10-22 18:48:35 +0900 (Mon, 22 Oct 2018) New Revision: 65300 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65300 Log: mjit_worker.c: check appropriate flag to stop This was not intentional in r65299. Modified files: trunk/mjit_worker.c Index: mjit_worker.c =================================================================== --- mjit_worker.c (revision 65299) +++ mjit_worker.c (revision 65300) @@ -1187,7 +1187,7 @@ copy_cache_from_main_thread(struct mjit_ https://github.com/ruby/ruby/blob/trunk/mjit_worker.c#L1187 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; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/