Hello Duncan, Monday, November 13, 2006, 10:19:16 PM, you wrote:
>> >> why? are you tried to call Gtk2Hs from only one thread? >> it will be great to see comments about this. it's impossible to write >> my program without using threaded RTS > As for the threaded RTS, currently that's only ok if you never make GUI > calls from more than one Haskell thread. it is what i say about. threaded RTS + multipls threads that does computations + one thread that interfaces with Gtk2Hs. afaiu, the only problem is that i need to manage both Gtk events and periodically check queue of commands from other threads, but using timer + Chan should allow to implement this -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe