* pinfo.cc (_pinfo::commune_send): Fix bounds test so that poll of

communicating pid actually stops eventually.
This commit is contained in:
Christopher Faylor 2003-07-12 21:37:07 +00:00
parent a6674ee61b
commit 9e8ac0ae35
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-07-12 Christopher Faylor <cgf@redhat.com>
* pinfo.cc (_pinfo::commune_send): Fix bounds test so that poll of
communicating pid actually stops eventually.
2003-07-10 Christopher Faylor <cgf@redhat.com>
* path.cc (get_device_number): Remove special com? consideration.

View File

@ -363,7 +363,7 @@ _pinfo::commune_send (DWORD code)
/* FIXME: Need something better than an busy loop here */
bool isalive;
for (int i = 0; (isalive = alive ()) || (i < 65536); i++)
for (int i = 0; (isalive = alive ()) && (i < 10000); i++)
if (myself->hello_pid <= 0)
break;
else