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
cm_libarchive.h
/*============================================================================
CMake - Cross Platform Makefile Generator
Copyright 2000-2010 Kitware, Inc., Insight Software Consortium
Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License for more information.
============================================================================*/
#ifndef __cm_libarchive_h
#define __cm_libarchive_h
/* Use the libarchive configured for CMake. */
#include "cmThirdParty.h"
#ifdef CMAKE_USE_SYSTEM_LIBARCHIVE
# include <archive.h>
# include <archive_entry.h>
#else
# include <cmlibarchive/libarchive/archive.h>
# include <cmlibarchive/libarchive/archive_entry.h>
#endif
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...