Re: per-thread rusage

From: Ulrich Drepper
Date: Tue May 01 2007 - 14:40:18 EST


On 5/1/07, Bill Irwin <bill.irwin@xxxxxxxxxx> wrote:
A sort of note for me to refer back to when I get the rest of the way
here. AIX does this with getrusage(RUSAGE_THREAD,...), Solaris with
getrusage(RUSAGE_LWP,...),

RUSAGE_LWP is a remnant of Solaris' M-on-N thread library days. No
reason to got there. Use RUSAGE_THREAD. Even though the kernel calls
the process and process group, at userland these are threads and
processes.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/