* pinfo.h (EXITCODE_SET): Move out of range of Windows error.

(EXITCODE_NOSET): Ditto.
* sigproc.cc (no_signals_available): Remove check for hwait_sig.  Just rely on
my_sendsig.  Pass in an argument controlling when it is appropriate to test
EXITCODE_SET.
(proc_can_be_signalled): Remove checks for myself since this function is never
called in that context.
(sigproc_init): Pre-initialize my_sendsig to non-zero so that
proc_can_be_signalled will know that we expect to be signalable soon.
(sig_send): Change debugging output.
This commit is contained in:
Christopher Faylor
2005-09-16 03:16:17 +00:00
parent 150f3bd168
commit 882dfbf776
3 changed files with 23 additions and 19 deletions

View File

@@ -31,8 +31,8 @@ enum picom
PICOM_PIPE_FHANDLER = 7
};
#define EXITCODE_SET 0x80000000
#define EXITCODE_NOSET 0x40000000
#define EXITCODE_SET 0x8000000
#define EXITCODE_NOSET 0x4000000
class fhandler_pipe;