diff options
author | Christian Heimes <christian@cheimes.de> | 2013-10-22 09:09:27 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-10-22 09:09:27 (GMT) |
commit | 6fc79bf813de21015208d989e38cdc95bda03292 (patch) | |
tree | 84bbc4d5b1596b3f215efd1ff4c23af5345ee75c /Doc/library/resource.rst | |
parent | d1d7576fb4a6787e3ebc0b5060561c076c9a4bf7 (diff) | |
download | cpython-6fc79bf813de21015208d989e38cdc95bda03292.zip cpython-6fc79bf813de21015208d989e38cdc95bda03292.tar.gz cpython-6fc79bf813de21015208d989e38cdc95bda03292.tar.bz2 |
Issue #19324: Expose Linux-specific constants in resource module
Diffstat (limited to 'Doc/library/resource.rst')
-rw-r--r-- | Doc/library/resource.rst | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst index ed85850..1c0fa9f 100644 --- a/Doc/library/resource.rst +++ b/Doc/library/resource.rst @@ -151,6 +151,52 @@ platform. The maximum area (in bytes) of address space which may be taken by the process. +.. data:: RLIMIT_MSGQUEUE + + The number of bytes that can be allocated for POSIX message queues. + + Availability: Linux 2.6.8 or later. + + .. versionadded:: 3.4 + + +.. data:: RLIMIT_NICE + + The ceiling for the process's nice level (calculated as 20 - rlim_cur). + + Availability: Linux 2.6.12 or later. + + .. versionadded:: 3.4 + + +.. data:: RLIMIT_RTPRIO + + The ceiling of the real-time priority. + + Availability: Linux 2.6.12 or later. + + .. versionadded:: 3.4 + + +.. data:: RLIMIT_RTTIME + + The time limit (in microseconds) on CPU time that a process can spend + under real-time scheduling without making a blocking syscall. + + Availability: Linux 2.6.25 or later. + + .. versionadded:: 3.4 + + +.. data:: RLIMIT_SIGPENDING + + The number of signals which the process may queue. + + Availability: Linux 2.6.8 or later. + + .. versionadded:: 3.4 + + Resource Usage -------------- |