Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-09-14 06:21:09 +0400
committerChristopher Faylor <me@cgf.cx>2004-09-14 06:21:09 +0400
commitfc3a42749f79e8e4576d1ac915a3a9eb8452b4c1 (patch)
tree2f21c648aa526fb8ab0a488a66671c9a3fa21b9c /winsup/cygwin/fork.cc
parent2f514b3252441d4d7a36a546b3882fce75b102a1 (diff)
* 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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc
index a2571a964..c65c22d39 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])))