• T
    Implement new 'lightweight lock manager' that's intermediate between · 499abb0c
    Tom Lane 提交于
    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.
    499abb0c
shmem.c 10.8 KB