HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduletime-manager-0.3.2Haskell2010

System.TimeManager

Timeout manager. Since v0.3.0, timeout manager is a wrapper of GHC System TimerManager.

Some caveats of using this package:

  • Only works for GHC

  • Only works with a threaded runtime

  • Users of older versions should check the current semantics.

  • Using 32-bit systems means the max timeout is maxBound :: Int (2147483647) microseconds, which is less than 36 minutes.

  • Using the same Handle in different threads might cause issues in some edge cases. (i.e. using cancel/pause in one thread, and resume in another)

Contents
  1. Types
  2. Manager
  3. Registering a timeout action
  4. Control timeout
  5. Low level
  6. Exceptions
Synopsis

Types

Manager

valuestopManager :: Manager -> IO ()

Deprecated. This function does nothing since version 0.3.0

Obsoleted since version 0.3.0 Is now equivalent to pure ().

valuekillManager :: Manager -> IO ()

Deprecated. This function does nothing since version 0.3.0

Obsoleted since version 0.3.0 Is now equivalent to pure ().

Registering a timeout action

Control timeout

Low level

Exceptions