From: | "stephen joseph butler" <stephen(dot)butler(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Stats collection on Windows |
Date: | 2006-04-05 14:13:14 |
Message-ID: | f107df20604050713l5809358fq37c1a03de4d6ece7@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2006/4/5, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-04-05 14:14:15 | Re: commit callback, request |
Previous Message | Magnus Hagander | 2006-04-05 14:07:43 | Re: Stats collection on Windows |