mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/tk/tcltklib.c (lib_eventloop_core): revert the last change (it's
the part for ruby_1_8), and use rb_thread_check_ints() when RUBY_VM is defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ef3fb5d1e8
commit
dfcc89576d
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Jun 15 05:12:59 2011 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/tcltklib.c (lib_eventloop_core): revert the last change (it's
|
||||
the part for ruby_1_8), and use rb_thread_check_ints() when RUBY_VM
|
||||
is defined.
|
||||
|
||||
Wed Jun 15 04:42:47 2011 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* benchmark/bm_vm3_thread_*.rb: renamed bm_vm3_thread_*.rb to
|
||||
|
|
|
@ -2526,11 +2526,11 @@ lib_eventloop_core(check_root, update_flag, check_var, interp)
|
|||
rb_thread_schedule();
|
||||
}
|
||||
|
||||
DUMP1("trap check & thread scheduling");
|
||||
#ifdef RUBY_USE_NATIVE_THREAD
|
||||
/* if (update_flag == 0) CHECK_INTS; */ /*XXXXXXXXXXXXX TODO !!!! */
|
||||
#else
|
||||
DUMP1("check interrupts");
|
||||
#if defined(RUBY_USE_NATIVE_THREAD) || defined(RUBY_VM)
|
||||
if (update_flag == 0) rb_thread_check_ints();
|
||||
#else
|
||||
if (update_flag == 0) CHECK_INTS;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue