On Sat, 2009-04-11 at 21:07 +0400, Bulat Ziganshin wrote:
> 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
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
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 =
Hello Don,
Friday, April 10, 2009, 8:36:32 PM, you wrote:
unfortunately, full example is my whole program. i will try to make
short example if someone will say that it looks like a bug and it was
not fixed in intermediate versions. basically, scenario is simple -
myThreadId changed due the life o
Could you send a full example we can compile and test?
This is only a fragment.
bulat.ziganshin:
> Hello glasgow-haskell-users,
>
> i've looked for this bug in Trac but don't found anything. so:
>
> startGUI action = runInBoundThread $ do
> unsafeInitGUIForThreadedRTS
> myThreadId >>= writeI
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 = unsafePerformIO$ newIORef$ error "undefined G