settimeofday function taking 24 - 30 minutes to complete

Scot Hetzel swhetzel at gmail.com
Tue Dec 19 15:35:42 PST 2006


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.


More information about the freebsd-current mailing list