Posix.installHandler issues.

John Meacham john@repetae.net
Wed, 4 Dec 2002 22:33:29 -0800

I cant seem to figure out how to do one-shot signals in haskell, the
problem is that signals are queued to be run on a haskell thread so I
cannot do a 'installHandler _ Default _' without the possiblility of
more signals coming in before the thread gets scheduled. Proposed
solution: add another argument to Posix.installHandler which takes a
list of flags as described in sigaction(3) (including SA_ONESHOT). I
apologize if i am misinterpreting the behavior of my program.

John Meacham - California Institute of Technology, Alum. - john@foo.net