From: David Espada Date: 2004-03-17T18:59:32+09:00 Subject: Re: [Ruby-gnome2] possible bug in memory management El martes 16 de marzo, Laurent Sansonetti escribi�: >> I have found a reproducible bug, but I don't know if it is in Gtk2 >> library, Ruby or Ruby-gtk2. >> >> You can execute this little program: > > If I understand correctly the problem is that you're executing an > operation which takes some time in the main thread, which takes care of > periodically refreshing the UI. So it's quite normal if the program > freezes. Example script freezes gui and I see that as normal. But problem is not that, but instead absolute program freeze. > You should start the signal code in a separate thread. How can I do that? Threads from Ruby and from Gtk are compatible? Can I make a threading application free of freezes in gui (independently of the error I get now)? Thanks. David