Signal handling still buggy
Volker Stolz
stolz at I2.Informatik.RWTH-Aachen.DE
Mon Oct 9 07:42:45 EDT 2000
It seems that in 4.08 & 4.08.1 signal handling still seems to be flawed:
I have a program with several concurrent threads, one which waits for
keyboard-input, one which handles a dictionary of some data.
I install a signalHandler for USR1 which just writes an item to a channel
attached to the dictionary process which will happily do whatever I want
it to. However, after repeatingly sending this signal, the I/O-loop in the
other thread doing the getLine will choke with:
Error: failed
Action: hGetChar
Reason: (error code: 0)
Regards,
Volker
--
Volker Stolz * stolz at i2.informatik.rwth-aachen.de * PGP + S/MIME
More information about the Glasgow-haskell-bugs
mailing list