Spec-Zone.ru › Haskell 7

System.Posix.Resource

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 Safe
Language Haskell2010

Contents

  • Resource Limits

Description

POSIX resource support

Resource Limits

data ResourceLimit Source

Constructors

ResourceLimitInfinity
ResourceLimitUnknown
ResourceLimit Integer

Instances

Eq ResourceLimit

data ResourceLimits Source

Constructors

ResourceLimits

Fields

softLimit, hardLimit :: ResourceLimit

Instances

Eq ResourceLimits

data Resource Source

Constructors

ResourceCoreFileSize
ResourceCPUTime
ResourceDataSize
ResourceFileSize
ResourceOpenFiles
ResourceStackSize
ResourceTotalMemory

Instances

Eq Resource

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/7.10.3/docs/html/libraries/unix-2.7.1.0/System-Posix-Resource.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API