because it caused the testsuite/unsafe-links test to hang.
* Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
* Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
- * Prevent some hangs at the end of a run on Cygwin. (Anthony Heading)
-
INTERNAL:
* Many code cleanups and improved internal documentation. (Martin
INTERNAL:
* Many code cleanups and improved internal documentation. (Martin
* ) AC_MSG_RESULT(no);;
esac
* ) AC_MSG_RESULT(no);;
esac
-AC_MSG_CHECKING([whether generator should delay before signaling receiver])
-case $host_os in
- *cygwin* ) AC_MSG_RESULT(yes)
- AC_DEFINE(DELAY_BEFORE_SIGNALING_RECEIVER, 1,
- [Define if generator should delay before signaling receiver])
- ;;
- * ) AC_MSG_RESULT(no);;
-esac
-
AC_C_BIGENDIAN
AC_HEADER_DIRENT
AC_HEADER_TIME
AC_C_BIGENDIAN
AC_HEADER_DIRENT
AC_HEADER_TIME
io_flush();
io_set_error_fd(-1);
io_flush();
io_set_error_fd(-1);
-#ifdef DELAY_BEFORE_SIGNALING_RECEIVER
- /* workaround for cygwin hangs; wait to make sure child is ready */
- msleep(100);
-#endif
kill(pid, SIGUSR2);
wait_process(pid, &status);
return status;
kill(pid, SIGUSR2);
wait_process(pid, &status);
return status;