* spawn.cc (pthread_cleanup::oldmask): Default to invalid signal mask.

(do_cleanup): Test for invalid signal mask to decide whether to restore the
mask rather than assuming zero mask indicates that there is nothing to do.
This commit is contained in:
Christopher Faylor
2004-10-07 16:49:30 +00:00
parent 7c3db8ea2e
commit 859d85dee0
3 changed files with 10 additions and 2 deletions

View File

@ -278,6 +278,7 @@ struct init_cygheap
size_t sthreads;
int open_fhs;
pid_t pid; /* my pid */
const char *system_root;
void close_ctty ();
};