* pinfo.cc (pinfo::init): Remove spurious low_priority_sleep.
This commit is contained in:
parent
01032746d1
commit
9981546a7c
|
@ -1,3 +1,7 @@
|
||||||
|
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>
|
2005-12-21 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* spawn.cc (spawn_guts): Hide the window whenever ctty == -1, not just
|
* spawn.cc (spawn_guts): Hide the window whenever ctty == -1, not just
|
||||||
|
|
|
@ -256,15 +256,14 @@ pinfo::init (pid_t n, DWORD flag, HANDLE h0)
|
||||||
goto loop;
|
goto loop;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* In certain rare cases, it is possible for the shared memory region to
|
/* 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
|
exist for a while after a process has exited. This should only be a
|
||||||
brief occurrence, so rather than introduce some kind of locking
|
brief occurrence, so rather than introduce some kind of locking
|
||||||
mechanism, just loop. */
|
mechanism, just loop. */
|
||||||
if (!created && createit && (procinfo->process_state & PID_EXITED))
|
if (!created && createit && (procinfo->process_state & PID_EXITED))
|
||||||
{
|
{
|
||||||
debug_printf ("looping because pid %d, procinfo->pid %d, procinfo->dwProcessid %u has PID_EXITED set",
|
debug_printf ("looping because pid %d, procinfo->pid %d, procinfo->dwProcessid %u has PID_EXITED set",
|
||||||
n, procinfo->pid, procinfo->dwProcessId);
|
n, procinfo->pid, procinfo->dwProcessId);
|
||||||
low_priority_sleep (0);
|
|
||||||
goto loop;
|
goto loop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue