[issue10440] support RUSAGE_THREAD as a constant in the resource module

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you! I've committed the patch in r86493. -- nosy: +pitrou resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2 ___ Python tracker

[issue10440] support RUSAGE_THREAD as a constant in the resource module

2010-11-17 Thread Robert Collins
Changes by Robert Collins : -- keywords: +patch Added file: http://bugs.python.org/file19624/rusage-thread.patch ___ Python tracker ___ __

[issue10440] support RUSAGE_THREAD as a constant in the resource module

2010-11-16 Thread Robert Collins
New submission from Robert Collins : RUSAGE_THREAD (since Linux 2.6.26) Return resource usage statistics for the calling thread. This is very handy for multi threaded apps in determining runtime in a thread, page faults from the thread etc. -- messages: 121336 nosy: rbcol