Re: Assuming that TAS() will succeed the first time is verboten - Mailing list pgsql-hackers

From Dominic J. Eidson
Subject Re: Assuming that TAS() will succeed the first time is verboten
Date
Msg-id Pine.LNX.4.10.10012281724290.506-100000@morannon.the-infinite.org
Whole thread Raw
In response to Re: Assuming that TAS() will succeed the first time is verboten  (ncm@zembu.com (Nathan Myers))
Responses Re: Assuming that TAS() will succeed the first time is verboten  (ncm@zembu.com (Nathan Myers))
List 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/



pgsql-hackers by date:

Previous
From: ncm@zembu.com (Nathan Myers)
Date:
Subject: Re: Assuming that TAS() will succeed the first time is verboten
Next
From: ncm@zembu.com (Nathan Myers)
Date:
Subject: Re: Assuming that TAS() will succeed the first time is verboten