posix-realtime-0.0.0.4: POSIX Realtime functionality

Copyright(c) The University of Glasgow 2002
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerWilliam N. Halchin (vigalchin@gmail.com)
Stabilityprovisional
Portabilitynon-portable (requires POSIX)
Safe HaskellNone
LanguageHaskell98

System.Posix.Realtime.Aio

Description

Synopsis

Documentation

type AIOCB = ForeignPtr AIOCBStruct Source

makeAIOCB :: Fd -> Int -> Int -> FileOffset -> Ptr Word8 -> ByteCount -> Sigevent -> IO AIOCB Source

a helper function that builds an AIOCB from all its fields

aioRead :: AIOCB -> IO () Source

Posix AIO return

aioWrite :: AIOCB -> IO () Source

Posix AIO write

aioReturn :: AIOCB -> IO ByteCount Source

Posix AIO return

aioError :: AIOCB -> IO Errno Source

Posix AIO error

aioCancel :: Fd -> AIOCB -> IO () Source

Posix AIO cancel

data SyncOp Source

Posix asynchronous file synchronization!

Constructors

DSync 
Sync 

aioSuspend :: [AIOCB] -> TimeSpec -> IO () Source

Posix AIO suspend

type ListIOMode = Int Source

Posix AIO lio_listio