POSIX shared memory support.
data ShmOpenFlags Source #
Constructors
Fields
If true, open the shm object read-write rather than read-only.
If true, create the shm object if it does not exist.
If true, throw an exception if the shm object already exists.
If true, wipe the contents of the shm object after opening it.
shmOpen :: String -> ShmOpenFlags -> FileMode -> IO Fd Source #
Open a shared memory object with the given name, flags, and mode.
shmUnlink :: String -> IO () Source #
Delete the shared memory object with the given name.