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

From stephen joseph butler
Subject Re: Stats collection on Windows
Date
Msg-id f107df20604050713l5809358fq37c1a03de4d6ece7@mail.gmail.com
Whole thread Raw
In response to Re: Stats collection on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
2006/4/5, Tom Lane <tgl@sss.pgh.pa.us>:
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?

The structures for a process should remain as long as there are any open HANDLEs, even if the process has ended. Threads behave the same way, which is why a creator needs to remember to always close the HANDLE returned from CreateThread.

pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Stats collection on Windows
Next
From: Tom Lane
Date:
Subject: Re: commit callback, request