This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: getrusage(RUSAGE_CHILDREN, ...) core dumps
- To: dave at lumos dot com (David Spencer)
- Subject: Re: getrusage(RUSAGE_CHILDREN, ...) core dumps
- From: Geoffrey Noer <noer at cygnus dot com>
- Date: Tue, 3 Jun 1997 13:46:07 -0700 (PDT)
- Cc: gnu-win32 at cygnus dot com
David Spencer wrote:
>
> getrusage(RUSAGE_SELF) seems to work ( at least for finding
> out cpu and system time) but getrusage(RUSAGE_CHILDREN)
> "core dumps" on my system. The stack trace is shown below.
>
> What I really want is a version of "time" that works - the
> one included w/ the latest b18 only reports elapsed time
> correctly.
[...]
I just checked in code to improve rusage-related functions
contributed by Sergey. It will be in the next beta.
--
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".