From fc3a42749f79e8e4576d1ac915a3a9eb8452b4c1 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 14 Sep 2004 02:21:09 +0000 Subject: * fork.cc (slow_pid_reuse): Temporarily double the number of pids held to prevent pid reuse. --- winsup/cygwin/fork.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/fork.cc') 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]))) -- cgit v1.2.3