* wait.cc (wait4): Force pending signal delivery before waiting for process
completion.
This commit is contained in:
parent
1d676025c9
commit
4497f2a88d
|
@ -1,3 +1,8 @@
|
||||||
|
2002-11-23 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* wait.cc (wait4): Force pending signal delivery before waiting for
|
||||||
|
process completion.
|
||||||
|
|
||||||
2002-11-23 Christopher Faylor <cgf@redhat.com>
|
2002-11-23 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* include/cygwin/version.h: Bump DLL minor number.
|
* include/cygwin/version.h: Bump DLL minor number.
|
||||||
|
|
|
@ -53,6 +53,7 @@ wait4 (int intpid, int *status, int options, struct rusage *r)
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
sig_dispatch_pending (0);
|
||||||
sigframe thisframe (mainthread);
|
sigframe thisframe (mainthread);
|
||||||
sawsig = 0;
|
sawsig = 0;
|
||||||
if (options & ~(WNOHANG | WUNTRACED))
|
if (options & ~(WNOHANG | WUNTRACED))
|
||||||
|
|
Loading…
Reference in New Issue