[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Wxruby-dev] what happens to ruby threads
From: |
Kevin Smith |
Subject: |
Re: [Wxruby-dev] what happens to ruby threads |
Date: |
30 Jun 2003 19:20:39 -0700 |
On Mon, 2003-06-30 at 15:33, Richard Kilmer wrote:
> Do all other Ruby threads freeze?
Good question.
> Thread.new do
> while true
> sleep 5
> puts "hello"
> end
> end
>
> a = RbApp.new
> a.main_loop()
And the good news is that the hellos keep popping up. I haven't looked
into threading at all, but I suspect Park may be using wxWindows' OnIdle
to grab some time for ruby threads.
Beyond this simple test working, I have no idea what to expect.
Kevin