Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch
On Thu, May 08, 2003 at 04:53:14AM +0000, Geoff Wing wrote:
> : Log Message:
> : Add x86_pause() inline function, containing the "pause" instruction
> : for i386, and nothing for amd64. Sprinkle it in various spinloops,
> : as recommended by Intel.
>
> Busts on libc.
> <pthread_types.h> wants <x86/lock.h> wants x86_pause() which is
> #ifdef _KERNEL in <machine/cpufunc.h>
Ok, thanks, I fixed it.
- Frank
--
Frank van der Linden
fvdl%netbsd.org@localhost
===============================================================================
NetBSD. Free, Unix-like OS. > 45 different platforms. http://www.netbsd.org/
Home |
Main Index |
Thread Index |
Old Index