Re: [HACKERS] lmgr changed

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Vadim Mikheev <vadim(at)krasnet(dot)ru>
Cc: PostgreSQL Developers List <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] lmgr changed
Date: 1999-05-14 12:03:35
Message-ID: 199905141203.IAA28128@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Hi!
>
> Changes:
>
> 1. Check for other waiters is moved from LockResolveConflict
> to LockAquire.
> 2. Don't take other waiters into account if either lock
> aquired by MyProc don't conflict with locks aquired by
> waiters or MyProc already holds conflicting lock.
> 3. ProcSleep uses conflict table to order waiters. Priority
> not used.
> 4. ProcLockWakeup stops attempts to wakeup waiters if lock
> conflict found _and_ someone was already wakeuped.
> 5. DeadLockCheck is able to wakeup MyProc or other proc
> to prevent deadlock.
>
> Below are tests I run. Hope that lmgr issues are closed.

Thanks Vadim. I don't think I could have made those changes myself.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 1999-05-14 12:22:42 System Catalogs
Previous Message Todd Graham Lewis 1999-05-14 11:43:23 Re: [HACKERS] CVS