aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib/execute.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-09-29 04:02:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-09-29 04:02:27 +0000
commit499abb0c0f21cb861c5af1d49a06469f3cfcc1eb (patch)
tree0af6262d9b6d1159315e93e90e69047b959ea5f5 /src/interfaces/ecpg/lib/execute.c
parent818fb55ac49b4b20e65d9899fc1784e54e86db58 (diff)
downloadpostgresql-499abb0c0f21cb861c5af1d49a06469f3cfcc1eb.tar.gz
postgresql-499abb0c0f21cb861c5af1d49a06469f3cfcc1eb.zip
Implement new 'lightweight lock manager' that's intermediate between
existing lock manager and spinlocks: it understands exclusive vs shared lock but has few other fancy features. Replace most uses of spinlocks with lightweight locks. All remaining uses of spinlocks have very short lock hold times (a few dozen instructions), so tweak spinlock backoff code to work efficiently given this assumption. All per my proposal on pghackers 26-Sep-01.
Diffstat (limited to 'src/interfaces/ecpg/lib/execute.c')
0 files changed, 0 insertions, 0 deletions