System.Posix.SharedMem

Copyright (c) Daniel Franke 2007
License BSD-style (see the file libraries/base/LICENSE)
Maintainer [email protected]
Stability experimental
Portability non-portable (requires POSIX)
Safe Haskell Safe
Language Haskell2010

Description

POSIX shared memory support.

data ShmOpenFlags Source

Constructors

ShmOpenFlags

Fields

shmReadWrite :: Bool

If true, open the shm object read-write rather than read-only.

shmCreate :: Bool

If true, create the shm object if it does not exist.

shmExclusive :: Bool

If true, throw an exception if the shm object already exists.

shmTrunc :: Bool

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.

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/unix-2.7.1.0/System-Posix-SharedMem.html