[fxruby-users] Performance of multithreaded FXRuby apps (was:FXColorDialog slow UI update)
philippe.lang at attiksystem.ch
Thu Feb 28 10:35:18 EST 2008
fxruby-users-bounces at rubyforge.org wrote:
> On Feb 28, 2008, at 7:16 AM, Philippe Lang wrote:
>> Thanks, it works just fine now. The problem disappeared. Is there a
>> reason why multithreading slows down FXRuby so much?
> It's related to the fact that Ruby doesn't use native threads, and
> what I therefore have to do in FOX's event loop in order to ensure
> that Ruby threads get scheduled.
Hum ok. Wouldn't it be a good idea then, until threads code gets
reimplemented, to disable threads by default under FXRuby? I *think* a
vast majority of FXRuby programers do not use threads at all. And those
who do could simply activate them explicitely?
More information about the fxruby-users