{-# LINE 1 "libraries/base/./System/Event/EPoll.hsc" #-}
{-# LANGUAGE ForeignFunctionInterface, GeneralizedNewtypeDeriving,
{-# LINE 2 "libraries/base/./System/Event/EPoll.hsc" #-}
    NoImplicitPrelude #-}

--
-- | 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 System.Event.EPoll
    (
      new
    , available
    ) where

import qualified System.Event.Internal as E


{-# LINE 22 "libraries/base/./System/Event/EPoll.hsc" #-}

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

new :: IO E.Backend
new = error "EPoll back end not implemented for this platform"

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

{-# LINE 214 "libraries/base/./System/Event/EPoll.hsc" #-}