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

Поиск
Список
Период
Сортировка
От Dominic J. Eidson
Тема Re: Assuming that TAS() will succeed the first time is verboten
Дата
Msg-id Pine.LNX.4.10.10012281724290.506-100000@morannon.the-infinite.org
обсуждение исходный текст
Ответ на Re: Assuming that TAS() will succeed the first time is verboten  (ncm@zembu.com (Nathan Myers))
Ответы Re: Assuming that TAS() will succeed the first time is verboten  (ncm@zembu.com (Nathan Myers))
Список 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 по дате отправления:

Предыдущее
От: ncm@zembu.com (Nathan Myers)
Дата:
Сообщение: Re: Assuming that TAS() will succeed the first time is verboten
Следующее
От: ncm@zembu.com (Nathan Myers)
Дата:
Сообщение: Re: Assuming that TAS() will succeed the first time is verboten