summaryrefslogtreecommitdiffstats
path: root/lib/readbytes.rb
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-14 15:25:45 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-14 15:25:45 +0000
commitf033d8519f4f6955f28c44a6205971f6a4eb439d (patch)
tree2411731a86321077cae6101089d0e76f96c97cb4 /lib/readbytes.rb
parent3ffbf5f4bd524a0b7e25e850fc87632dfb8fa679 (diff)
downloadruby-f033d8519f4f6955f28c44a6205971f6a4eb439d.tar.gz
ruby-f033d8519f4f6955f28c44a6205971f6a4eb439d.tar.xz
ruby-f033d8519f4f6955f28c44a6205971f6a4eb439d.zip
ext/tcltklib/tcltklib.c:
* replace Tcl/Tk's vwait and tkwait to switch on threads smoothly and avoid seg-fault. * add TclTkIp._thread_vwait and _thread_tkwait for waiting on a thread. ( Because Tcl/Tk's vwait and tkwait command wait on a eventloop. ) ext/tk/lib/multi-tk.rb: * support TclTkIp._thread_vwait and _thread_tkwait ext/tk/lib/tk.rb: * now, TkVariable#wait has 2 arguments. If 1st argument is true, waits on a thread. If false, waits on an eventloop. If 2nd argument is true, checks existence of rootwidgets. If false, doesn't. Default is wait(true, false). * add TkVariable#tkwait(arg) which is equal to TkVariable#wait(arg, true) * wait_visibility and wait_destroy have an argument for waiting on a thread or an eventloop. * improve of accessing Tcl/Tk's special variables ext/tk/lib/tkafter.rb: * support 'wait on a thread' and 'wait on an eventloop' git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/readbytes.rb')
0 files changed, 0 insertions, 0 deletions