Re: LLVM / clang
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Florian Pflug <fgp@phlo.org>
Cc: "P. Caillaud" <peufeu@peufeu.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2010-06-10T08:49:33Z
Lists: 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.