[Haskell-cafe] FFI - Approaches to C/C++

kudah kudahkukarek at gmail.com
Tue Feb 5 07:41:24 CET 2013


I followed dmwit's guide on threaded gtk2hs, all GUI interaction is in the
main thread, which is always bounded. This shouldn't really impact the
lag, as soon as gtk2hs calls back to haskell, nothing stops the RTS
from delaying main thread's peaceful return to C-land for arbitrary amount
of time.

2013/2/5 Ertugrul Söylemez <es at ertes.de>:
> Be sure to compile with -threaded.  Also note that GUI libraries often
> want to run in a bound thread.



More information about the Haskell-Cafe mailing list