Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> The trick is to run this under astronomical load; 100 or so client
> threads on a garden-variety PC is about right.
I wonder if there's an argument for building assertion-enabled builds with
code that randomly yields the processor some percentage of time before and
after taking a lock. It wouldn't catch every case but it might help.
--
greg