A priority search queue, with timeouts as priorities.
Moduleghc-internal-9.1003.0Haskell2010
GHC.Internal.Event.TimeOut
Common Timer definitions shared between WinIO and RIO.
The API of this module is unstable and not meant to be consumed by the general public.
If you absolutely must depend on it, make sure to use a tight upper
bound, e.g., base < 4.X rather than base < 5, because the interface can
change rapidly without much warning.
- 4 types
- Packageghc-internal-9.1003.0
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceTimeOut.hs
Warning: since the TimeoutCallback is called from the I/O manager, it must
not throw an exception or block for a long period of time. In particular,
be wary of throwTo and Control.Concurrent.killThread:
if the target thread is making a foreign call, these functions will block
until the call completes.
An edit to apply to a TimeoutQueue.
A timeout registration cookie.
Constructors
TK Unique
Instances2Eq, Ord
Eq TimeoutKeyDefined in ghc-internal-9.1003.0 · GHC.Internal.Event.TimeOutOrd TimeoutKeyDefined in ghc-internal-9.1003.0 · GHC.Internal.Event.TimeOut