Re: Stats collection on Windows - Mailing list pgsql-hackers

From mark@mark.mielke.cc
Subject Re: Stats collection on Windows
Date
Msg-id 20060405165357.GB13831@mark.mielke.cc
Whole thread Raw
In response to Re: Stats collection on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Apr 05, 2006 at 10:30:36AM -0400, Tom Lane wrote:
> "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.

No. It means you don't understand what a HANDLE is.

But that's fine - because you understand DB stuff to compensate... :-)

Cheers,
mark

-- 
mark@mielke.cc / markm@ncf.ca / markm@nortel.com     __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | Neighbourhood Coder
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | 
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada
 One ring to rule them all, one ring to find them, one ring to bring them all                      and in the darkness
bindthem...
 
                          http://mark.mielke.cc/



pgsql-hackers by date:

Previous
From: mark@mark.mielke.cc
Date:
Subject: Re: Stats collection on Windows
Next
From: "Peter Brant"
Date:
Subject: Re: Stats collection on Windows