haskus-system-0.6.0.0: Haskus system programming framework

Safe HaskellNone
LanguageHaskell2010

Haskus.Arch.Linux.FileSystem.Notification

Description

Notifications on file system (poll, select, inotify, etc.)

Synopsis

Documentation

type PollEventSet = BitSet Word16 PollEvent Source #

A set of polling events

data PollResult Source #

Result of a call to poll

Constructors

PollTimeOut

Time out

PollEvents [PollEntry]

Events returned

sysPoll :: MonadInIO m => [PollEntry] -> Bool -> Maybe Int64 -> Flow m '[PollResult, ErrorCode] Source #

Poll a set of file descriptors

Timeout in milliseconds