OSDN Git Service

* sigproc.cc (no_signals_available): Detect hwait_sig == INVALID_HANDLE_VALUE.
authorcgf <cgf>
Tue, 16 May 2006 03:14:23 +0000 (03:14 +0000)
committercgf <cgf>
Tue, 16 May 2006 03:14:23 +0000 (03:14 +0000)
commit1691311a617c8f513ae1b8ccd6425a7075fcbdc6
tree957a492975365cc1fe9ccf891ca93e3c9f5af892
parent38a8dd1440ed00ade1394e869a0eda7b72e002f0
* sigproc.cc (no_signals_available): Detect hwait_sig == INVALID_HANDLE_VALUE.
(wait_sig): Set hwait_sig to INVALID_HANDLE_VALUE on __SIGEXIT.
* cygtls.cc (_cygtls::init_thread): Zero entire _my_tls structure and no more.
* cygtls.h (_my_tls::padding): Delete.
(CYGTLS_PADSIZE): Redefine concept of padding to mean padding at the end of the
stack.
* dcrt0.cc (initialize_main_tls): Change return to void.
* gentls_offsets: Treat const specially, too.  Keep going after a '}' is found.
Change negative offset calculation to use CYGTLS_PADSIZE.
* init.cc (_my_oldfunc): New variable.
(threadfunc_fe): Use stored tls value for oldfunc rather than blindly writing
to the stack.
(munge_threadfunc): Set oldfunc in tls.
(dll_entry): Initialize tls allocation.
* tlsoffsets.h: Regenerate.
winsup/cygwin/ChangeLog
winsup/cygwin/cygtls.cc
winsup/cygwin/cygtls.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/gentls_offsets
winsup/cygwin/init.cc
winsup/cygwin/sigproc.cc
winsup/cygwin/tlsoffsets.h