Date: Tue, 19 Dec 2006 17:35:29 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: "Garrett Cooper" <youshi10@u.washington.edu> Cc: freebsd-current@freebsd.org Subject: Re: settimeofday function taking 24 - 30 minutes to complete Message-ID: <790a9fff0612191535w471f6b5eoce02d53c7aeeb976@mail.gmail.com> In-Reply-To: <1A4AF851-63A3-48CA-93D4-04117C6752EB@u.washington.edu> References: <790a9fff0612190915va75678at895efa0bc93ac3a1@mail.gmail.com> <458843B8.1060704@u.washington.edu> <9ab217670612191201y47b7bb3codf979f88f56e81cc@mail.gmail.com> <6EBDAA3A-A78C-4AA2-B9B7-E94C5C7DB186@u.washington.edu> <1A4AF851-63A3-48CA-93D4-04117C6752EB@u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/19/06, Garrett Cooper <youshi10@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0612191535w471f6b5eoce02d53c7aeeb976>