Copyright | (c) The University of Glasgow 2002 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | William N. Halchin (vigalchin@gmail.com) |
Stability | provisional |
Portability | non-portable (requires POSIX) |
Safe Haskell | None |
Language | Haskell98 |
POSIX 1003.1b memory locking support. See http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_mman.h.html.
- data LockAllFlags
- lockMemory :: Ptr Word8 -> ByteCount -> IO ()
- unlockMemory :: Ptr Word8 -> ByteCount -> IO ()
- lockAllMemory :: LockAllFlags -> IO ()
- unlockAllMemory :: IO ()
Documentation
lockAllMemory :: LockAllFlags -> IO () Source
lock all of a prcocess's memory space
unlockAllMemory :: IO () Source
unlock all mapped pages of a process