* exceptions.cc (sig_handle_tty_stop): Set stopsig to SIGCONT when continuing.

(stopped_or_terminated): Honor WCONTINUED.
* wait.cc (wait4): Ditto.
* include/cygwin/wait.h (WCONTINUED): Define.
(__W_CONTINUED): Ditto.
(WIFCONTINUED): Ditto.
This commit is contained in:
Christopher Faylor
2009-07-18 20:25:07 +00:00
parent d4e45e3b99
commit acced2cea2
5 changed files with 21 additions and 4 deletions

View File

@ -760,6 +760,7 @@ sig_handle_tty_stop (int sig)
case WAIT_OBJECT_0:
case WAIT_OBJECT_0 + 1:
reset_signal_arrived ();
myself->stopsig = SIGCONT;
myself->alert_parent (SIGCONT);
break;
default: