summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-12-21 19:39:53 +0000
committerChristopher Faylor <me@cgf.cx>2005-12-21 19:39:53 +0000
commit9981546a7cfdf669a66589a0aa1123fd02d81d6e (patch)
tree02ab245de199616c0ff8a4ed0c8ab25713b0c013
parent01032746d194060ca4d1825a2ce0209dc67f3511 (diff)
downloadcygnal-9981546a7cfdf669a66589a0aa1123fd02d81d6e.tar.gz
cygnal-9981546a7cfdf669a66589a0aa1123fd02d81d6e.tar.bz2
cygnal-9981546a7cfdf669a66589a0aa1123fd02d81d6e.zip
* pinfo.cc (pinfo::init): Remove spurious low_priority_sleep.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/pinfo.cc9
2 files changed, 8 insertions, 5 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index d3f906afd..26e7dd47e 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2005-12-21 Christopher Faylor <cgf@timesys.com>
+ * pinfo.cc (pinfo::init): Remove spurious low_priority_sleep.
+
+2005-12-21 Christopher Faylor <cgf@timesys.com>
+
* spawn.cc (spawn_guts): Hide the window whenever ctty == -1, not just
when we have no console.
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index bf82ab219..e28e90460 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -256,15 +256,14 @@ pinfo::init (pid_t n, DWORD flag, HANDLE h0)
goto loop;
}
- /* In certain rare cases, it is possible for the shared memory region to
- exist for a while after a process has exited. This should only be a
- brief occurrence, so rather than introduce some kind of locking
- mechanism, just loop. */
+ /* In certain rare cases, it is possible for the shared memory region to
+ exist for a while after a process has exited. This should only be a
+ brief occurrence, so rather than introduce some kind of locking
+ mechanism, just loop. */
if (!created && createit && (procinfo->process_state & PID_EXITED))
{
debug_printf ("looping because pid %d, procinfo->pid %d, procinfo->dwProcessid %u has PID_EXITED set",
n, procinfo->pid, procinfo->dwProcessId);
- low_priority_sleep (0);
goto loop;
}