diff options
author | Christopher Faylor <me@cgf.cx> | 2004-09-14 02:21:09 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-09-14 02:21:09 +0000 |
commit | fc3a42749f79e8e4576d1ac915a3a9eb8452b4c1 (patch) | |
tree | 2f21c648aa526fb8ab0a488a66671c9a3fa21b9c /winsup/cygwin/fork.cc | |
parent | 2f514b3252441d4d7a36a546b3882fce75b102a1 (diff) | |
download | newlib-fc3a42749f79e8e4576d1ac915a3a9eb8452b4c1.zip newlib-fc3a42749f79e8e4576d1ac915a3a9eb8452b4c1.tar.gz newlib-fc3a42749f79e8e4576d1ac915a3a9eb8452b4c1.tar.bz2 |
* fork.cc (slow_pid_reuse): Temporarily double the number of pids held to
prevent pid reuse.
Diffstat (limited to 'winsup/cygwin/fork.cc')
-rw-r--r-- | winsup/cygwin/fork.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc index a2571a9..c65c22d 100644 --- a/winsup/cygwin/fork.cc +++ b/winsup/cygwin/fork.cc @@ -321,7 +321,7 @@ fork_child (HANDLE& hParent, dll *&first_dll, bool& load_dlls) static void slow_pid_reuse (HANDLE h) { - static NO_COPY HANDLE last_fork_procs[4] = {0}; + static NO_COPY HANDLE last_fork_procs[8] = {0}; static NO_COPY unsigned nfork_procs = 0; if (nfork_procs >= (sizeof (last_fork_procs) / sizeof (last_fork_procs [0]))) |