Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2002 20:49:58 -0800
From:      Michael Smith <msmith@freebsd.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        arch@FreeBSD.ORG
Subject:   Re: gettimeofday() and crhold()/crfree() (was Re: gettimeofday()and copyout(). Is copyout() MPSAFE on non-i386 archs? ) 
Message-ID:  <200202180449.g1I4nwA03857@mass.dis.org>
In-Reply-To: Your message of "Mon, 18 Feb 2002 11:06:51 %2B1100." <20020218110408.N3938-100000@gamplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> This might have been useful in 1980, but gettimeofday() in practice
> has 10^6 times as much resolution now.  However, updating the kernel
> struct 10^6 times per second is beyond the capabilities of even current
> machiens, in software.  It is possible in hardware of course.

... except that no vendor would ever make it work properly, forcing us to 
poll the structure countless times to detect whether it was valid.

*sigh*

-- 
To announce that there must be no criticism of the president,
or that we are to stand by the president, right or wrong, is not
only unpatriotic and servile, but is morally treasonable to 
the American public.  - Theodore Roosevelt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202180449.g1I4nwA03857>