Re: Stats collection on Windows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Stats collection on Windows
Дата
Msg-id 29840.1144247436@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Stats collection on Windows  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: Stats collection on Windows
Re: Stats collection on Windows
Список pgsql-hackers
"Magnus Hagander" <mha@sollentuna.net> writes:
>> What happens if process Y goes away between the time you 
>> obtain a handle for it and the time you try to run this 
>> DuplicateHandle call?

> I can put together some quick test-code for this if you need me to?

Nah, it was just a rhetorical question meant to poke a hole in the
claim that Windows can avoid race conditions by using HANDLEs.

AFAICS, don't-reuse-PIDs-too-quick has exact analogs that Windows has
to solve by ensuring it doesn't reuse HANDLEs too quick.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: commit callback, request
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Tru64/Alpha problems