Skip to content
  • Erik de Castro Lopo's avatar
    rts: Ignore signal before deleting timer. Fixes #7303. · 5f3c1055
    Erik de Castro Lopo authored
    Was getting an ocassional hang or segfault when building GHC in a
    Qemu user space emulation of ARM. Turned out that the ITIMER_SIGNAL
    was being delivered *after* the call to timer_delete(). Setting the
    signal to SIG_IGN before deleting the timer solves the problem.
    5f3c1055