Re: [HACKERS] Stats collection on Windows

2006-04-05 Thread stephen joseph butler
2006/4/5, Tom Lane <[EMAIL PROTECTED]>: AFAICS, don't-reuse-PIDs-too-quick has exact analogs that Windows hasto solve by ensuring it doesn't reuse HANDLEs too quick.There's a disconnect here. handles aren't process identifiers: they're reference counted "pointers" to the kernel structures for the p

Re: [HACKERS] Stats collection on Windows

2006-04-05 Thread stephen joseph butler
2006/4/5, Tom Lane <[EMAIL PROTECTED]>: What happens if process Y goes away between the time you obtain ahandle 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 behav