diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-03-06 17:47:31 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-03-06 17:47:31 (GMT) |
commit | 393c8f36ef6027f5422c1dad3b10373bd85b6af2 (patch) | |
tree | 2e33e35c6cd5007ef00ce6063d78b117371c93a3 | |
parent | 6674ac0873fe0bb253009806272a807ae4c660eb (diff) | |
download | cpython-393c8f36ef6027f5422c1dad3b10373bd85b6af2.zip cpython-393c8f36ef6027f5422c1dad3b10373bd85b6af2.tar.gz cpython-393c8f36ef6027f5422c1dad3b10373bd85b6af2.tar.bz2 |
whatsnew: rewrite resource entry: prlimit and new constants.
-rw-r--r-- | Doc/whatsnew/3.4.rst | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 8623c30..268349d 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -1101,8 +1101,21 @@ includes the start, end, and the part of the string that matched. resource -------- -New :func:`resource.prlimit` function and Linux specific constants. -(Contributed by Christian Heimes in :issue:`16595` and :issue:`19324`.) +New :func:`~resource.prlimit` function, available on Linux platforms with a +kernel version of 2.6.36 or later and glibc of 2.13 or later, provides the +ability to query or set the resource limits for processes other than the one +making the call. (Contributed by Christian Heimes in :issue:`16595`.) + +On Linux kernel version 2.6.36 or later, there are there are also some new +Linux specific constants: :attr:`~resource.RLIMIT_MSGQUEUE`, +:attr:`~resource.RLIMIT_NICE`, :attr:`~resource.RLIMIT_RTPRIO`, +:attr:`~resource.RLIMIT_RTTIME`, and :attr:`~resource.RLIMIT_SIGPENDING`. +(Contributed by Christian Heimes in :issue:`19324`.) + +On FreeBSD version 9 and later, there some new FreeBSD specific constants: +:attr:`~resource.RLIMIT_SBSIZE`, :attr:`~resource.RLIMIT_SWAP`, and +:attr:`~resource.RLIMIT_NPTS`. (Contributed by Claudiu Popa in +:issue:`19343`.) select |