Re: Signal handling still buggy

2000-10-10 Thread Volker Stolz
On Mon, Oct 09, 2000 at 05:40:29AM -0700, Simon Marlow wrote: Ok. Is it possible to cut down the example to maybe 2 concurrent threads, so we could try to fix the problem here? There aren't any obvious bugs in the signal handling code (at least, not obvious to me :). I think I found the

RE: Signal handling still buggy

2000-10-10 Thread Simon Marlow
I think I found the most simple version to reproduce this bug. module Main where import Posix import IO main = do _ - installHandler sigUSR1 (Catch (return ())) Nothing -- will fail -- _ - installHandler sigUSR1 Ignore Nothing -- will work loop loop = do putStr " "

Re: Signal handling still buggy

2000-10-09 Thread Volker Stolz
On Mon, Oct 09, 2000 at 01:42:45PM +0200, Volker Stolz wrote: It seems that in 4.08 4.08.1 signal handling still seems to be flawed: I forgot to mention that this only happens when using job-control: 1) start the program 2) use Ctrl-Z to suspend 3) kill -USR1 4) fg to resume, sigUSR1-handler

RE: Signal handling still buggy

2000-10-09 Thread Simon Marlow
On Mon, Oct 09, 2000 at 01:42:45PM +0200, Volker Stolz wrote: It seems that in 4.08 4.08.1 signal handling still seems to be flawed: I forgot to mention that this only happens when using job-control: 1) start the program 2) use Ctrl-Z to suspend 3) kill -USR1 4) fg to resume,