Expose Linux-specific APIs in resource module

June 3, 2012
6: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/
4672
Age (days ago)
4672
Last active (days ago)
0 comments
1 participants
participants (1)
-
Giampaolo Rodolà