[Haskell-cafe] Re: Re[2]: Threading and FFI

Ben Franksen ben.franksen at online.de
Sun Feb 21 15:51:31 EST 2010

Yves Parès wrote:
> Just one last remark: when I moved all my OpenGL calls from the main
> thread to an unbound thread. I thought it'd not work -- because I assumed
> I would have to launch it in a bound thread -- and however it went
> right...

You were just lucky the RTS accidentally delegated all your OpenGL calls to
the same OS thread. It might turn out bad next time you run the program, or
on another machine, or after adding more threads. Been there...


More information about the Haskell-Cafe mailing list