System.Posix.Resource
Copyright | (c) The University of Glasgow 2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | [email protected] |
Stability | provisional |
Portability | non-portable (requires POSIX) |
Safe Haskell | Safe |
Language | Haskell2010 |
Contents
Description
POSIX resource support
Resource Limits
data ResourceLimit Source
Constructors
ResourceLimitInfinity | |
ResourceLimitUnknown | |
ResourceLimit Integer |
Instances
Eq ResourceLimit | |
Defined in System.Posix.Resource Methods(==) :: ResourceLimit -> ResourceLimit -> Bool (/=) :: ResourceLimit -> ResourceLimit -> Bool |
data ResourceLimits Source
Constructors
ResourceLimits | |
Fields |
Instances
Eq ResourceLimits | |
Defined in System.Posix.Resource Methods(==) :: ResourceLimits -> ResourceLimits -> Bool (/=) :: ResourceLimits -> ResourceLimits -> Bool |
Constructors
ResourceCoreFileSize | |
ResourceCPUTime | |
ResourceDataSize | |
ResourceFileSize | |
ResourceOpenFiles | |
ResourceStackSize | |
ResourceTotalMemory |
Instances
getResourceLimit :: Resource -> IO ResourceLimits Source
setResourceLimit :: Resource -> ResourceLimits -> IO () Source
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.10.2/docs/html/libraries/unix-2.7.2.2/System-Posix-Resource.html