lkml.org 
[lkml]   [2007]   [May]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 1 May 2007 11:39:46 -0700
From"Ulrich Drepper" <>
SubjectRe: per-thread rusage
On 5/1/07, Bill Irwin <bill.irwin@oracle.com> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-01 20:43    [from the cache]
©2003-2008