mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
* sigproc.cc (no_signals_available): Fix so that non-zero exit state is a true
condition rather than errnoneously only checking other states when exist_state was zero.
This commit is contained in:
parent
62e070d72e
commit
b50fe8212f
@ -1,3 +1,9 @@
|
||||
2003-11-28 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* sigproc.cc (no_signals_available): Fix so that non-zero exit state is
|
||||
a true condition rather than errnoneously only checking other states
|
||||
when exist_state was zero.
|
||||
|
||||
2003-11-28 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* pinfo.h (_pinfo::getthread2signal): Remove obsolete function.
|
||||
|
@ -10,10 +10,6 @@ details. */
|
||||
|
||||
#ifndef _PINFO_H
|
||||
#define _PINFO_H
|
||||
/* Signal constants (have to define them here, unfortunately) */
|
||||
|
||||
#define PSIZE 63
|
||||
|
||||
#include <sys/resource.h>
|
||||
#include "thread.h"
|
||||
|
||||
|
@ -36,12 +36,14 @@ details. */
|
||||
/*
|
||||
* Convenience defines
|
||||
*/
|
||||
#define WSSC 60000 // Wait for signal completion
|
||||
#define WPSP 40000 // Wait for proc_subproc mutex
|
||||
#define WSSC 60000 // Wait for signal completion
|
||||
#define WPSP 40000 // Wait for proc_subproc mutex
|
||||
|
||||
#define PSIZE 63 // Number of processes
|
||||
|
||||
#define wake_wait_subproc() SetEvent (events[0])
|
||||
|
||||
#define no_signals_available() (!hwait_sig || !sig_loop_wait && !exit_state)
|
||||
#define no_signals_available() (!hwait_sig || !sig_loop_wait || exit_state)
|
||||
|
||||
#define NZOMBIES 256
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user