Re: lwlocks and starvation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: lwlocks and starvation
Date: 2004-11-24 16:20:57
Message-ID: 9865.1101313257@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Neil Conway <neilc(at)samurai(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alberto Pia 2004-11-24 16:24:07 Encrypt data type LO
Previous Message Tom Lane 2004-11-24 16:19:12 Re: lwlocks and starvation