Re: Refactoring lock.c

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Refactoring lock.c
Дата
Msg-id 1107388808.26960.31.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Refactoring lock.c  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Refactoring lock.c
Список pgsql-patches
On Wed, 2005-02-02 at 21:41 +0200, Heikki Linnakangas wrote:
> There's two almost identical pieces of code in LockRelease and
> LockReleaseAll that do the opposite of GrantLock.
>
> Here's a small patch that replaces those pieces with a static UnGrantLock
> function.

LockReleaseAll() did not update the holdMask bits for a released
proclock, but it will do so now. That's okay because we're removing the
proclock, right?

Barring any objections, I'll apply this to HEAD today or tomorrow.

-Neil



В списке pgsql-patches по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Refactoring lock.c
Следующее
От: Mark Kirkwood
Дата:
Сообщение: [Fwd: Re: [DOCS] Instructions for FreeBSD ipc config showing age]