Broken since 1.3.10, or earlier

Jon Cast jcast@ou.edu
Tue Jul 16 20:38:00 GMT 2002


Christopher Faylor <cgf@redhat.com> wrote:
<snip>
> bash makes assumptions that pids grow monotonically but that is not
> the case on windows.  It's possible that you can run a program twice
> and get the same pid twice in a row -- especially on Windows 9x.  I
> try to work around this in cygwin by keeping a certain number of
> process handles open, so that the pids won't be reused, but that
> still causes problems when you are fork/execing processes quickly.

Just out of curiosity, why would bash care if pids grow monotonically?
(I know I can check the sources, but I'm lazy.)

Jon Cast


--
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/



More information about the Cygwin mailing list