This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 giampaolo.rodola
收信人 giampaolo.rodola, loewis, pitrou
日期 2010-12-28.01:46:48
SpamBayes Score 0.0002028705
Marked as misclassified
Message-id <1293500810.54.0.0610321482452.issue10784@psf.upfronthosting.co.za>
In-reply-to
内容
After having implemented a similar thing in psutil ( http://code.google.com/p/psutil/issues/detail?id=142 ) I decided to contribute a patch for Python which exposes getpriority() and setpriority() POSIX calls in the os module.

They can be used to get/set process niceness/priority in a fashion similar to os.nice() but extended to *all* processes instead of just os.getpid():
http://linux.die.net/man/2/setpriority
历史
日期 用户 动作 参数
2010-12-28 01:46:50giampaolo.rodola修改recipients: + giampaolo.rodola, loewis, pitrou
2010-12-28 01:46:50giampaolo.rodola修改messageid: <1293500810.54.0.0610321482452.issue10784@psf.upfronthosting.co.za>
2010-12-28 01:46:49giampaolo.rodola链接issue10784 messages
2010-12-28 01:46:48giampaolo.rodola创建