Odd behavior of ncurses with -threaded
donn at avvanta.com
Thu Nov 11 22:32:33 EST 2010
Quoth Simon Hengel <simon.hengel at wiktory.org>,
>> > ghc --make -threaded -lcurses Main.hs
>> I bet, if you switch off the barrage of thread scheduling SIGALRMs,
>> +RTS -V0 -RTS , it will work like it's supposed to.
> That helped, thanks!
Great, but, beware - I am not fully informed on what it does, beyond
the SIGALRM difference. I run my own application this way without
apparent serious harm, but it could be failing to reclaim memory for
example, due to missed garbage collections.
Donn Cave, donn at avvanta.com
More information about the Glasgow-haskell-users