Re: lwlocks and starvation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: lwlocks and starvation
Дата
Msg-id 9865.1101313257@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: lwlocks and starvation  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> (Speaking of which, the "exclusive" field is declared as a "char"; I 
> wonder if it wouldn't be more clear to declare it as "bool", and treat 
> it as a boolean field.

I coded it that way because I was thinking of it as a count (0 or 1),
for symmetry with the count of shared holders.  You could argue it
either way I suppose.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: lwlocks and starvation
Следующее
От: "Alberto Piña"
Дата:
Сообщение: Encrypt data type LO