Expose Linux-specific APIs in resource module
June 3, 2012
11:09 p.m.
From "man getrlimit" we have 5 linux-specific constants which are currently not exposed by resource module:
RLIMIT_MSGQUEUE RLIMIT_NICE RLIMIT_RTPRIO RLIMIT_RTTIME RLIMIT_SIGPENDING Also, we have prlimit(), which is useful to get/set resources in a per-process fashion based on process PID. If desirable I can submit a patch for this. --- Giampaolo http://code.google.com/p/pyftpdlib/ http://code.google.com/p/psutil/ http://code.google.com/p/pysendfile/
5208
Age (days ago)
5208
Last active (days ago)
0 comments
1 participants
participants (1)
-
Giampaolo Rodolà