Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group