Re: Assuming that TAS() will succeed the first time is verboten

From: "Dominic J(dot) Eidson" <sauron(at)the-infinite(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Cc: ncm(at)zembu(dot)com
Subject: Re: Assuming that TAS() will succeed the first time is verboten
Date: 2000-12-28 23:26:23
Message-ID: Pine.LNX.4.10.10012281724290.506-100000@morannon.the-infinite.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 28 Dec 2000, Nathan Myers wrote:

> The code is based on some odd assumptions. A select() with 0 delay
> returns immediately unless there is an interrupt during its (very short!)

If you look closely, it's a select with a 2 second timeout.

>>> { 2, 0 }

--
Dominic J. Eidson
"Baruk Khazad! Khazad ai-menu!" - Gimli
-------------------------------------------------------------------------------
http://www.the-infinite.org/ http://www.the-infinite.org/~dominic/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Myers 2000-12-29 00:10:30 Re: Assuming that TAS() will succeed the first time is verboten
Previous Message Nathan Myers 2000-12-28 23:17:51 Re: Assuming that TAS() will succeed the first time is verboten