
13 Nov
2006
13 Nov
'06
2:31 p.m.
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:Bulat.Ziganshin@gmail.com