FFI: Problem with Signal Handler Interruptions

Levi Greenspan greenspan.levi at googlemail.com
Sat Aug 15 09:44:10 EDT 2009

On Fri, Aug 14, 2009 at 11:45 PM, Simon Marlow<marlowsd at gmail.com> wrote:
> You should check for EINTR and restart the call as necessary.  This is
> standard best practice for POSIX programming anyway, and we do it for all
> the calls that can return EINTR in the IO library and RTS.
> Blocking SIGVTALRM is not a good idea: the RTS relies on the signal for
> various things.

Alright. I'll do it this way then. Many thanks for your advice.


More information about the Glasgow-haskell-users mailing list