diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-22 13:52:48 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-22 13:52:48 +0000 |
commit | 615a54e77d00c0b456fe6a6f8b6d48203e25b3ac (patch) | |
tree | bf0ace3a2218c9f5558eb31073d899e90d51c360 /ext/tcltklib | |
parent | 448b1af751fed5976948d629d9b7028a7d044506 (diff) | |
download | ruby-615a54e77d00c0b456fe6a6f8b6d48203e25b3ac.tar.gz |
* ext/tk/lib/tk.rb: add Tk.grab_release and fix bug of TkComposite
* ext/tk/lib/tkafter.rb: bug fix
* ext/tk/sample/tkcombobox.rb: new sample script
* ext/tcltklib/tcltklib.c: add native thread check
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib')
-rw-r--r-- | ext/tcltklib/tcltklib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/tcltklib/tcltklib.c b/ext/tcltklib/tcltklib.c index d20c24eb22..50c654d814 100644 --- a/ext/tcltklib/tcltklib.c +++ b/ext/tcltklib/tcltklib.c @@ -503,7 +503,9 @@ lib_eventloop_core(check_root, check_var) rb_trap_exec(); } else { DUMP1("thread scheduling"); - rb_thread_schedule(); + if (is_ruby_native_thread()) { + rb_thread_schedule(); + } } } return 1; |