https://github.com/Kitware/CMake
Revision 0c7f84ca41ebd871615426b9a159922422701859 authored by Brad King on 19 May 2014, 14:53:51 UTC, committed by Brad King on 20 May 2014, 13:48:35 UTC
When we kill a child we send SIGSTOP first so that we can traverse its child processes recursively. On unwinding the recursion we then send SIGKILL. Current Cygwin has trouble when both signals are sent in quick succession by the parent process. Add a usleep(1) after sending the first signal to give up our time slice and give Cygwin a chance to process the first signal before sending the second.
1 parent e604209
Tip revision: 0c7f84ca41ebd871615426b9a159922422701859 authored by Brad King on 19 May 2014, 14:53:51 UTC
KWSys Process: Workaround child kill trouble on Cygwin
KWSys Process: Workaround child kill trouble on Cygwin
Tip revision: 0c7f84c
File | Mode | Size |
---|---|---|
Auxiliary | ||
Help | ||
Licenses | ||
Modules | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.gitattributes | -rw-r--r-- | 569 bytes |
.hooks-config.bash | -rw-r--r-- | 866 bytes |
CMakeCPack.cmake | -rw-r--r-- | 5.1 KB |
CMakeCPackOptions.cmake.in | -rw-r--r-- | 2.7 KB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 21.8 KB |
CMakeLogo.gif | -rw-r--r-- | 4.4 KB |
CONTRIBUTING.rst | -rw-r--r-- | 1001 bytes |
CTestConfig.cmake | -rw-r--r-- | 1.0 KB |
CTestCustom.cmake.in | -rw-r--r-- | 3.3 KB |
CTestCustom.ctest.in | -rw-r--r-- | 145 bytes |
CompileFlags.cmake | -rw-r--r-- | 3.1 KB |
Copyright.txt | -rw-r--r-- | 2.6 KB |
DartConfig.cmake | -rw-r--r-- | 809 bytes |
DartLocal.conf.in | -rw-r--r-- | 4.0 KB |
README.rst | -rw-r--r-- | 2.5 KB |
bootstrap | -rwxr-xr-x | 56.0 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 796 bytes |
configure | -rwxr-xr-x | 99 bytes |
doxygen.config | -rw-r--r-- | 27.4 KB |
Computing file changes ...