Re: settimeofday function taking 24 - 30 minutes to complete

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Tue, 19 Dec 2006 17:35:29 -0600
On 12/19/06, Garrett Cooper <youshi10_at_u.washington.edu> wrote:
>        One thing though, why don't you define your macro outside main()?

Didn't think about that at the time, just coppied the TEST define from
one of the LTP headers, and  it into the code so I wouldn't have to
rewrite the entire test.

On 12/19/06, Garrett Cooper <youshi10_at_u.washington.edu> wrote:
> > Comes back near instantly, unsuccessful as a regular user and
> > successful as superuser under OS X. Trying linux now..
> > -Garrett
> >
> > PS You didn't include stdio.h or stdlib.h and the compiler (gcc)
> > complained quite a bit.

It didn't complain when I compiled it under FreeBSD.

>
> This (slightly) modified version of the code works perfectly fine
> under OSX 10.4.8 and FC5:

Even with the addition of these headers, it still hangs the system
under FreeBSD/amd64 -CURRENT.  If someone could run the test program
under FreeBSD/i386 and see if they get the same problem.

Thanks for looking into the problem.

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
Received on Tue Dec 19 2006 - 22:35:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC