Re: lwlocks and starvation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: lwlocks and starvation
Date
Msg-id 9865.1101313257@sss.pgh.pa.us
Whole thread Raw
In response to Re: lwlocks and starvation  (Neil Conway <neilc@samurai.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: lwlocks and starvation
Next
From: "Alberto Piña"
Date:
Subject: Encrypt data type LO