
5 Dec
2002
5 Dec
'02
1:33 a.m.
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 -- --------------------------------------------------------------------------- John Meacham - California Institute of Technology, Alum. - john@foo.net ---------------------------------------------------------------------------