Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Simon Marlow's avatar
    8d71be7c
    FIX #1623: disable the timer signal when the system is idle (threaded RTS only) · 8d71be7c
    Simon Marlow authored
    Having a timer signal go off regularly is bad for power consumption,
    and generally bad practice anyway (it means the app cannot be
    completely swapped out, for example).  Fortunately the threaded RTS
    already had a way to detect when the system was idle, so that it can
    trigger a GC and thereby find deadlocks.  After performing the GC, we
    now turn off timer signals, and re-enable them again just before
    running any Haskell code.
    8d71be7c
    History
    FIX #1623: disable the timer signal when the system is idle (threaded RTS only)
    Simon Marlow authored
    Having a timer signal go off regularly is bad for power consumption,
    and generally bad practice anyway (it means the app cannot be
    completely swapped out, for example).  Fortunately the threaded RTS
    already had a way to detect when the system was idle, so that it can
    trigger a GC and thereby find deadlocks.  After performing the GC, we
    now turn off timer signals, and re-enable them again just before
    running any Haskell code.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.