* Makefile.in (new-cygwin1.dll): Just use -lsupc++ for link.
* sigproc.cc (proc_exists): Change existence criteria. * sync.h (new_muto): Add volatile to definition to avoid gcc optimization problems.
This commit is contained in:
@@ -228,7 +228,7 @@ pid_exists (pid_t pid)
|
||||
BOOL __stdcall
|
||||
proc_exists (_pinfo *p)
|
||||
{
|
||||
return p && !(p->process_state & (PID_INITIALIZING | PID_EXITED));
|
||||
return p && !(p->process_state & PID_EXITED);
|
||||
}
|
||||
|
||||
/* Return 1 if this is one of our children, zero otherwise.
|
||||
|
Reference in New Issue
Block a user