OSDN Git Service

* cygtls.h (waitq): Declare structure here.
authorcgf <cgf>
Fri, 12 Mar 2004 03:09:27 +0000 (03:09 +0000)
committercgf <cgf>
Fri, 12 Mar 2004 03:09:27 +0000 (03:09 +0000)
commita0b8f8f04161fa8aea94c9d7e6c6102c5d0da825
treef01a0e657b0cc07681018d4aa90474e9372a627f
parentca27b03dc39422d529aef4c0a581581db6ef336c
* cygtls.h (waitq): Declare structure here.
(_cygtls::wq): Declare.
* cygtls.cc (_cygtls::fixup_after_fork): Clear wq.thread_ev to avoid using an
invalid event handle in forked process.
* dcrt0.cc (waitq_storage): Delete.
(threadstuff): Remove waitq_storage.
* perthread.h (per_thread_waitq): Delete.
(waitq_storage): Delete declaration.
* sigproc.cc (sigproc_init): Remove perthread waitq consideration.
* sigproc.h (waitq): Delete declaration.
* wait.cc (wait4): Use _my_tls waitq structure rather than per_thread.
* cygtls.h (_cygtls::newmask): Delete member.
(_cygtls::deltamask): New member.
* gendef (_sigdelayed): Replace the call to set_process_mask by a call to
set_process_mask_delta.
* exceptions.cc (handle_sigsuspend): Do not filter tempmask.  Or
SIG_NONMASKABLE in deltamask as a flag.
(_cygtls::interrupt_setup): Set deltamask only.
(set_process_mask_delta): New function.
(_cygtls::call_signal_handler): Replace the first call to set_process_mask by a
call to set_process_mask_delta.
* tlsoffsets.h: Regenerate.
winsup/cygwin/ChangeLog
winsup/cygwin/cygtls.cc
winsup/cygwin/cygtls.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/exceptions.cc
winsup/cygwin/gendef
winsup/cygwin/perthread.h
winsup/cygwin/sigproc.cc
winsup/cygwin/sigproc.h
winsup/cygwin/tlsoffsets.h
winsup/cygwin/wait.cc