Copyright | (c) The University of Glasgow 2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | provisional |
Portability | non-portable (requires POSIX) |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
POSIX resource support
Synopsis
- data ResourceLimit
- data ResourceLimits = ResourceLimits {}
- data Resource
- getResourceLimit :: Resource -> IO ResourceLimits
- setResourceLimit :: Resource -> ResourceLimits -> IO ()
Resource Limits
data ResourceLimit Source #
Instances
Show ResourceLimit Source # | |
Defined in System.Posix.Resource | |
Eq ResourceLimit Source # | |
Defined in System.Posix.Resource (==) :: ResourceLimit -> ResourceLimit -> Bool # (/=) :: ResourceLimit -> ResourceLimit -> Bool # |
data ResourceLimits Source #
Instances
Show ResourceLimits Source # | |
Defined in System.Posix.Resource | |
Eq ResourceLimits Source # | |
Defined in System.Posix.Resource (==) :: ResourceLimits -> ResourceLimits -> Bool # (/=) :: ResourceLimits -> ResourceLimits -> Bool # |
ResourceCoreFileSize | |
ResourceCPUTime | |
ResourceDataSize | |
ResourceFileSize | |
ResourceOpenFiles | |
ResourceStackSize | |
ResourceTotalMemory |
setResourceLimit :: Resource -> ResourceLimits -> IO () Source #