aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-07-29 14:25:28 +0000
committerChristopher Faylor <me@cgf.cx>2005-07-29 14:25:28 +0000
commit40c125cf383c438c990e23bb60283160dec86d1a (patch)
treea21fac75006c9e8ab32835851bb5026848558ff0 /winsup/cygwin
parentf834829deef081c859556770c54679d622d1c08e (diff)
downloadnewlib-40c125cf383c438c990e23bb60283160dec86d1a.zip
newlib-40c125cf383c438c990e23bb60283160dec86d1a.tar.gz
newlib-40c125cf383c438c990e23bb60283160dec86d1a.tar.bz2
* pinfo.cc (pinfo::init): Sleep before retrying open_shared().
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/pinfo.cc3
2 files changed, 5 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 10b9a1b..0a79875 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-29 Christopher Faylor <cgf@timesys.com>
+
+ * pinfo.cc (pinfo::init): Sleep before retrying open_shared().
+
2005-07-29 Arto Huusko <arto.huusko@wmdata.fi>
* fork.cc (fork_parent): Fix null deref if pinfo creation fails.
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 4aab2f0..d7e73c2 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -233,8 +233,7 @@ pinfo::init (pid_t n, DWORD flag, HANDLE h0)
case ERROR_INVALID_ADDRESS:
mapaddr = NULL;
}
-
- debug_printf ("MapViewOfFileEx h0 %p, i %d failed, %E", h0, i);
+ low_priority_sleep (0);
continue;
}