Forum: Ruby-Gnome 2 Is the thread-handling tip relevant in Ruby 1.9?

Posted by Nikolai Weibull (Guest)
on 2011-10-04 16:03
(Received via mailing list)
Hi!

Is

http://ruby-gnome2.sourceforge.jp/hiki.cgi?cmd=vie...

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?
Posted by Simon Arnaud (sarnaud)
on 2011-10-04 17:16
Nikolai Weibull wrote in post #1024967:
> Hi!
>
> Is
>
> http://ruby-gnome2.sourceforge.jp/hiki.cgi?cmd=vie...
>
> 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.