aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-12-27 20:58:58 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-12-27 20:58:58 +0000
commitf8eed65dfb580f0971e2e6ead83135bfa3ddeb06 (patch)
tree5fd8b3b152cfa785e14a4489b628081a67dcf2d9 /src/backend/access/gist/gist.c
parent2cdace962b5fd56a4bd2fae1c1ba6e99434f33f3 (diff)
downloadpostgresql-f8eed65dfb580f0971e2e6ead83135bfa3ddeb06.tar.gz
postgresql-f8eed65dfb580f0971e2e6ead83135bfa3ddeb06.zip
Improve spinlock code for recent x86 processors: insert a PAUSE
instruction in the s_lock() wait loop, and use test before test-and-set in TAS() macro to avoid unnecessary bus traffic. Patch from Manfred Spraul, reworked a bit by Tom.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions