bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linuxthreads and getrusage


From: Andreas Jaeger
Subject: Re: Linuxthreads and getrusage
Date: 24 Jan 2001 16:44:16 +0100
User-agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Channel Islands)

Dominik Strasser <address@hidden> writes:

> Hello,
> I am encountering some problems when using getrusage on Linux in a
> multithreaded program:
> When specifying RUSAGE_SELF I get the correct info regarding the used
> CPU time, but the time returned is only the time for the main thread.

getrusage doesn't account for all threads - that's a bug in the
kernel.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj



reply via email to

[Prev in Thread] Current Thread [Next in Thread]