OSDN Git Service

* cygtls.cc (_cygtls::fixup_after_fork): Remove unneeded setting of oldmask.
authorcgf <cgf>
Fri, 12 Mar 2004 02:07:38 +0000 (02:07 +0000)
committercgf <cgf>
Fri, 12 Mar 2004 02:07:38 +0000 (02:07 +0000)
commitca27b03dc39422d529aef4c0a581581db6ef336c
tree7064d74d99c71f49498e1093f00c458d6a5dfc0e
parent94ddbcb285365a8b3b9f09993da3ddd6629265dc
* cygtls.cc (_cygtls::fixup_after_fork): Remove unneeded setting of oldmask.
* exceptions.cc: Remove some __I386__ conditionals.
(handle_exceptions): Move ppid test to outside of a loop for efficiency.
(setup_handler): Make debugging output more wordy.
(_cygtls::call_signal_handler): To avoid a race, use lock/unlock to synchronize
with signal thread and ensure that signal_arrived event has actually been set.
* gendef (_sigfe): Use ebx for all sigstack manipulations to ensure that the
register is saved.  Move setting of incyg to within stack lock to avoid
setup_handler confusion.
(_sigbe): Use ebx for all sigstack manipulations to ensure that the register is
saved.
(_cygtls::pop): Ditto.
(_cygtls::lock): Ditto.
(stabilize_sig_stack): Ditto.
(setjmp): Ditto.
(longjmp): Ditto.
winsup/cygwin/ChangeLog
winsup/cygwin/cygtls.cc
winsup/cygwin/exceptions.cc
winsup/cygwin/gendef