diff options
author | Brad King <brad.king@kitware.com> | 2014-05-19 14:53:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-05-20 13:48:35 (GMT) |
commit | 0c7f84ca41ebd871615426b9a159922422701859 (patch) | |
tree | a73bbc5ed7635ab34d02794b2fadb30cefa862b2 /Source/CMakeVersion.cmake | |
parent | e604209cb930c5bc7e53f58625407b82e6899d0f (diff) | |
download | CMake-0c7f84ca41ebd871615426b9a159922422701859.zip CMake-0c7f84ca41ebd871615426b9a159922422701859.tar.gz CMake-0c7f84ca41ebd871615426b9a159922422701859.tar.bz2 |
KWSys Process: Workaround child kill trouble on Cygwin
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.
Diffstat (limited to 'Source/CMakeVersion.cmake')
0 files changed, 0 insertions, 0 deletions