Re: Odd behavior of ncurses with -threaded

2010-11-12 Thread Simon Marlow
On 11/11/2010 22:41, Bryan O'Sullivan wrote: On Thu, Nov 11, 2010 at 2:32 PM, Edward Z. Yang ezy...@mit.edu mailto:ezy...@mit.edu wrote: I was under the impression we fixed this: http://hackage.haskell.org/trac/ghc/ticket/850 That is, we should be using SIGVTALRM, not SIGALRM,

Re: Odd behavior of ncurses with -threaded

2010-11-12 Thread Bryan O'Sullivan
On Fri, Nov 12, 2010 at 8:07 AM, Simon Marlow marlo...@gmail.com wrote: Is there anything that we could do in GHC to improve the situation? I suppose we could have a dedicated OS thread who's job it was to sit around and run the signal handler every Nth of a second. Maybe that would work,

Re: Odd behavior of ncurses with -threaded

2010-11-12 Thread Donn Cave
Quoth Simon Marlow marlo...@gmail.com, ... Is there anything that we could do in GHC to improve the situation? I suppose we could have a dedicated OS thread who's job it was to sit around and run the signal handler every Nth of a second. Since the -threaded RTS automatically spawns a couple