{-# LINE 1 "libraries/base/GHC/Event/EPoll.hsc" #-}
{-# LANGUAGE BangPatterns               #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE NoImplicitPrelude          #-}
{-# LANGUAGE Trustworthy                #-}

-----------------------------------------------------------------------------
-- |
-- A binding to the epoll I/O event notification facility
--
-- epoll is a variant of poll that can be used either as an edge-triggered or
-- a level-triggered interface and scales well to large numbers of watched file
-- descriptors.
--
-- epoll decouples monitor an fd from the process of registering it.
--
-----------------------------------------------------------------------------

module GHC.Event.EPoll
    (
      new
    , available
    ) where

import qualified GHC.Event.Internal as E



{-# LINE 28 "libraries/base/GHC/Event/EPoll.hsc" #-}
import GHC.Base

new :: IO E.Backend
new :: IO Backend
new = [Char] -> IO Backend
forall a. [Char] -> a
errorWithoutStackTrace [Char]
"EPoll back end not implemented for this platform"

available :: Bool
available :: Bool
available = Bool
False
{-# INLINE available #-}

{-# LINE 245 "libraries/base/GHC/Event/EPoll.hsc" #-}