Portability | non-portable (requires POSIX) |
---|---|
Stability | provisional |
Maintainer | William N. Halchin (vigalchin@gmail.com) |
Safe Haskell | None |
POSIX 1003.1b memory locking support.
- data LockAllFlags
- lockMemory :: Ptr Word8 -> ByteCount -> IO ()
- unlockMemory :: Ptr Word8 -> ByteCount -> IO ()
- lockAllMemory :: LockAllFlags -> IO ()
- unlockAllMemory :: IO ()
Documentation
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!