Is the thread-handling tip relevant in Ruby 1.9?

Hi!

Is

http://ruby-gnome2.sourceforge.jp/hiki.cgi?cmd=view&p=tips_threads

still relevant in Ruby 1.9?

If so, how does this work with GLib::MainLoop.new and implicit
mainloops created with, for example, Gtk::Dialog.run?

Nikolai W. wrote in post #1024967:

Hi!

Is

http://ruby-gnome2.sourceforge.jp/hiki.cgi?cmd=view&p=tips_threads

still relevant in Ruby 1.9?

AFAIK, yes. The problem is not ruby, but GTK, which is not thread-safe.
See my question on the vala list :
http://thread.gmane.org/gmane.comp.programming.vala/4263/

If so, how does this work with GLib::MainLoop.new and implicit
mainloops created with, for example, Gtk::Dialog.run?

I have no idea, it’s too bare metal for me.

Simon