Commit 9a0c1795 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Herbert Valerio Riedel

base: Export GHC.Event(.Internal).Lifetime

This was an unfortunate oversight in the original event manager rework
patch. Fixes #10308

Differential Revision: https://phabricator.haskell.org/D845
parent 75adc352
......@@ -25,6 +25,7 @@ module GHC.Event
, evtWrite
, IOCallback
, FdKey(keyFd)
, Lifetime(..)
, registerFd
, unregisterFd
, unregisterFd_
......
......@@ -84,6 +84,8 @@ evtConcat = foldl' evtCombine evtNothing
{-# INLINE evtConcat #-}
-- | The lifetime of a registration.
--
-- @since 4.8.1.0
data Lifetime = OneShot | MultiShot
deriving (Show, Eq)
......
......@@ -39,6 +39,8 @@
* Bundled with GHC 7.10.2
* `Lifetime` is now exported from `GHC.Event`
## 4.8.0.0 *Mar 2015*
* Bundled with GHC 7.10.1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment