Chris Langlois <clanglois@mac.com> writes:
> Ran all regression tests, and the result: All 93 tests passed.
Cool.
> Just had to modify the src/include/ports/darwin.h with the
> additions (+) noted:
> +#if defined(__i386__)
> +#define HAS_TEST_AND_SET
> +#endif
This should be irrelevant as of CVS tip, because Bruce did some work to
decouple the CPU-specific spinlock assumptions from the OS-specific
assumptions. The __i386__ spinlock code will now trigger no matter
which OS you use. Or at least that's the theory --- can you download
CVS tip or a nightly snapshot and confirm it works on your platform?
regards, tom lane