Concurrent wait-lock - Mailing list pgsql-hackers

From Pailloncy Jean-Gerard
Subject Concurrent wait-lock
Date
Msg-id 024f8fb06469ffb872b918a2f391efc2@rilk.com
Whole thread Raw
In response to Re: Concurrent free-lock  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers
Hi,

There is better than lock-free algorithm, this is wait-free.

A lock-free algorithm guarantees progress regardless of whether some
processes are delayed or even killed and regardless of scheduling
policies. By definition, a lock-free object must be immune to deadlock
and livelock.
A wait-free algorithm guarantees that ALL processes will progress and
FINISH in a finite number of steps.

Wait-Free Reference Counting and Memory Management
http://www.cs.chalmers.se/~phs/TechnicalReports/Sun04_WaitFreeRef.pdf

There are many other paper at
http://www.cs.chalmers.se/~phs/


Cordialement,
Jean-Gérard Pailloncy



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Query optimizer 8.0.1 (and 8.0)
Next
From: Pailloncy Jean-Gerard
Date:
Subject: Re: Thinking about breaking up the BufMgrLock