diff options
author | Christopher Faylor <me@cgf.cx> | 2003-04-24 01:57:07 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-04-24 01:57:07 +0000 |
commit | 5d9a7c875abcd2b551804774e2331a16d47b4f54 (patch) | |
tree | bf3d66842c68a5491616a782d8a457a542f5fac2 /winsup/cygwin/fork.cc | |
parent | 480fa852f473f204922d438d39f540b6ea890cbf (diff) | |
download | cygnal-5d9a7c875abcd2b551804774e2331a16d47b4f54.tar.gz cygnal-5d9a7c875abcd2b551804774e2331a16d47b4f54.tar.bz2 cygnal-5d9a7c875abcd2b551804774e2331a16d47b4f54.zip |
* fork.cc: Change SLOW_PID_REUSE to NO_SLOW_PID_REUSE and invert ifdef sense
throughout.
Diffstat (limited to 'winsup/cygwin/fork.cc')
-rw-r--r-- | winsup/cygwin/fork.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc index 45664ad6d..2435d95e3 100644 --- a/winsup/cygwin/fork.cc +++ b/winsup/cygwin/fork.cc @@ -325,11 +325,11 @@ fork_child (HANDLE& hParent, dll *&first_dll, bool& load_dlls) return 0; } -#ifdef SLOW_PID_REUSE +#ifndef NO_SLOW_PID_REUSE static void slow_pid_reuse (HANDLE h) { - static NO_COPY HANDLE last_fork_procs[8] = {0}; + static NO_COPY HANDLE last_fork_procs[4] = {0}; static NO_COPY unsigned nfork_procs = 0; if (nfork_procs >= (sizeof (last_fork_procs) / sizeof (last_fork_procs [0]))) @@ -538,7 +538,7 @@ fork_parent (HANDLE& hParent, dll *&first_dll, goto cleanup; } -#ifdef SLOW_PID_REUSE +#ifndef NO_SLOW_PID_REUSE slow_pid_reuse (pi.hProcess); #endif |