From: Alex Fenton Date: 2005-12-07T22:12:35+09:00 Subject: Re: wxruby and threads Yuri Kozlov wrote: > It seems, what this code make new thread every time when on_idle > called. Yes. It was just an example. If you want to run a previously defined thread, the following works for me (CVS HEAD, Wx 2.6.2 unicode, OS X 10.3, Ruby 1.8.2) def on_idle @thread.run() end a