posix-realtime-0.0.0.2: POSIX Realtime functionality

Portabilitynon-portable (requires POSIX)
Stabilityprovisional
MaintainerWilliam N. Halchin (vigalchin@gmail.com)
Safe HaskellNone

System.Posix.Realtime.LockedMem

Description

POSIX 1003.1b memory locking support.

Synopsis

Documentation

data LockAllFlags Source

Constructors

CURRENT 
FUTURE 

lockMemory :: Ptr Word8 -> ByteCount -> IO ()Source

lock a region of memory

unlockMemory :: Ptr Word8 -> ByteCount -> IO ()Source

unlock a region of memory

lockAllMemory :: LockAllFlags -> IO ()Source

lock all of a prcocess's memory space

unlockAllMemory :: IO ()Source

unlock all mapped pages of a process!