I'm trying to understand the ghc signal implementation. I can't do much with the provided examples, because getSignalMask exits the program with: Fail: invalid argument Action: getSignalMask Reason: Invalid argument I'm using FreeBSD 5.0 with ghc6.0.1. Is there any tutorials or explanations about posix signals/threads in ghc out there? Shawn