Rename System.Event to GHC.Event
[packages/base.git] / GHC / Event.hs
1 -- | This module provides scalable event notification for file
2 -- descriptors and timeouts.
3 --
4 -- This module should be considered GHC internal.
5 module GHC.Event
6 ( -- * Types
7 EventManager
8
9 -- * Creation
10 , new
11
12 -- * Running
13 , loop
14
15 -- ** Stepwise running
16 , step
17 , shutdown
18
19 -- * Registering interest in I/O events
20 , Event
21 , evtRead
22 , evtWrite
23 , IOCallback
24 , FdKey(keyFd)
25 , registerFd
26 , registerFd_
27 , unregisterFd
28 , unregisterFd_
29 , closeFd
30
31 -- * Registering interest in timeout events
32 , TimeoutCallback
33 , TimeoutKey
34 , registerTimeout
35 , updateTimeout
36 , unregisterTimeout
37 ) where
38
39 import GHC.Event.Manager