Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <024e01c1ab6e$2a04e280$0200a8c0@lifelesswks> From: "Robert Collins" To: "Michael Haubenwallner" , "Christophe LEITIENNE" Cc: References: <3C5937FE DOT C87567DD AT salomon DOT at> <3C59465A DOT 65EBEF58 AT salomon DOT at> Subject: Re: cygipc shmat bug Date: Sat, 2 Feb 2002 09:16:57 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 01 Feb 2002 22:16:43.0572 (UTC) FILETIME=[21409F40:01C1AB6E] === ----- Original Message ----- From: "Michael Haubenwallner" > The problem is, that the pid-numbering of Windows is quite "confuse" > (i don't know any better word), meaning that a later ipctest.exe > gets the same pid as before, while the attach before with the same > pid is not removed from the list yet. So don't test by PID, test by handle. IIRC I've already suggested that. Also, IIRC (Chris, Corinna you may have encountered evidence about this) if you have a handle open for a process, it's PID isn't recycled until all the handles have been closed). Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/