This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygipc shmat bug



===
----- Original Message -----
From: "Michael Haubenwallner" <michael.haubenwallner@salomon.at>
> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]