Re: windows shared memory error

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: windows shared memory error
Дата
Msg-id 49FEF832.30802@dunslane.net
обсуждение исходный текст
Ответ на Re: windows shared memory error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
> I still think there's absolutely no evidence suggesting that a variable
> backoff is necessary.  Given how little this code is going to be
> exercised in the real world, how long will it take till we find out
> if you get it wrong?  Use a simple retry loop and be done with it.
>
>             
>   

Why should a 1 second delay between CloseHandle() and 
CreateFileMapping() be enough now when it was not enough 1 second ago? 
If the event we needed an offset from were outside the loop I'd agree 
with you.

cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "could not reattach to shared memory" captured in buildfarm
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: windows shared memory error