This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Broken since 1.3.10, or earlier
- From: Jon Cast <jcast at ou dot edu>
- To: cygwin at cygwin dot com
- Date: Tue, 16 Jul 2002 21:45:16 -0500
- Subject: Re: Broken since 1.3.10, or earlier
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/