GHC.Event (original) (raw)
Types
Creation
Running
loop :: EventManager -> IO ()Source
Start handling events. This function loops until told to stop, using [shutdown](GHC-Event.html#v:shutdown)
.
Note: This loop can only be run once per [EventManager](GHC-Event.html#t:EventManager)
, as it closes all of its control resources when it finishes.
Stepwise running
Registering interest in I/O events
data FdKey Source
A file descriptor registration cookie.
unregisterFd_ :: EventManager -> FdKey -> IO BoolSource
Drop a previous file descriptor registration, without waking the event manager thread. The return value indicates whether the event manager ought to be woken.