> When interrupting this program, the signal handler does not
> get called:
>
> module Main where
> import Posix
>
> main = do
> installHandler 2 (Catch (putStrLn "Hello, world!")) Nothing
> sleep 600
> -- putStr ""
Try using Concurrent.threadDelay instead of Posix.sleep, since the
latter doesn't let other threads run while it is sleeping (it should do;
I'll fix this in my rewrite of Posix).
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs