Re[2]: bug: unstable myThreadId in GHC 6.6.1

2009-04-11 Thread Bulat Ziganshin
Hello Bertram, Saturday, April 11, 2009, 8:09:46 PM, you wrote: > What does "same thread" mean? I'll risk a guess. well, that's possible - i'll ask on gtk2hs list too currently, i believe that mainGUI just runs endless loop processing queue of GUI events -- Best regards, Bulat

Re: bug: unstable myThreadId in GHC 6.6.1

2009-04-11 Thread Bertram Felgenhauer
Bulat Ziganshin wrote: > Hello glasgow-haskell-users, > > i've looked for this bug in Trac but don't found anything. so: > > startGUI action = runInBoundThread $ do > unsafeInitGUIForThreadedRTS > myThreadId >>= writeIORef guiThread > action >>= widgetShowAll > mainGUI > > guiThread =