From 88a628163ee00baa8726be5fba04bcc76b5e1841 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 6 Jul 2003 23:24:13 +0000 Subject: * newsym: Use correct prefix for generating imports. * pinfo.cc (_pinfo::commune_send): Don't wait forever for a response from another process. --- winsup/cygwin/pinfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/pinfo.cc') diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 625f0224f..8899defb3 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -363,7 +363,7 @@ _pinfo::commune_send (DWORD code) /* FIXME: Need something better than an busy loop here */ bool isalive; - while ((isalive = alive ())) + for (int i = 0; (isalive = alive ()) || (i < 65536); i++) if (myself->hello_pid <= 0) break; else -- cgit v1.2.3