diff options
author | Christopher Faylor <me@cgf.cx> | 2000-02-24 06:45:32 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-02-24 06:45:32 +0000 |
commit | 9aa07a8f6081b541dbe57f656bcfd430a7d2c9ae (patch) | |
tree | fdde394e0b14039d03218dc127999445b9d6d951 /winsup/cygwin/sigproc.h | |
parent | fb87c246a77ed26d09727bdd3e280e2d1a212eae (diff) | |
download | newlib-9aa07a8f6081b541dbe57f656bcfd430a7d2c9ae.zip newlib-9aa07a8f6081b541dbe57f656bcfd430a7d2c9ae.tar.gz newlib-9aa07a8f6081b541dbe57f656bcfd430a7d2c9ae.tar.bz2 |
Fix final round of gcc warnings relating to unused parameters.
* debug.cc (iscygthread): New function.
* debug.h: Declare it.
* exceptions.cc (set_process_mask): Flush pending signals.
(handle_sigsuspend): No need to flush pending signals.
(call_handler): Refine previous tests of muto ownership. Only clear wait()'s
when we have definitely responded to a signal.
* fhandler_console.cc (fhandler_console::read): Don't set EINTR if executing in
a "cygwin" thread.
* sigproc.cc (proc_subproc): Use second argument to control whether CLEARWAIT
actually sets "signalled" flag.
* sync.h (muto): Add 'unstable' method.
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r-- | winsup/cygwin/sigproc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index 7f237a9..b1b4eaf 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -18,8 +18,7 @@ enum procstuff PROC_CHILDSTOPPED = 2, // a child stopped PROC_CHILDTERMINATED = 3, // a child died PROC_CLEARWAIT = 4, // clear all waits - signal arrived - PROC_WAIT = 5, // setup for wait() for subproc - PROC_SIGCHLD = 6 // saw a non-trapped SIGCHLD + PROC_WAIT = 5 // setup for wait() for subproc }; typedef struct struct_waitq |