Re: LLVM / clang - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: LLVM / clang
Date
Msg-id 1276159773.32193.2.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to Re: LLVM / clang  (Florian Pflug <fgp@phlo.org>)
List pgsql-hackers
On ons, 2010-06-09 at 09:59 +0200, Florian Pflug wrote:
> The most heavily platform dependent part of the code is the spinlock
> implementation. You might want to check that it actually uses the
> version optimized for your platform, not the (much slower) generic
> implementation based on semaphores.

You only get the slow implementation if you configure explicitly with
--disable-spinlocks.  A toolchain that didn't support spinlocks would
fail the build and then the user could use that option to get past that
problem.



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: InvalidXLogRecPtr in docs
Next
From: Peter Eisentraut
Date:
Subject: Re: LLVM / clang