diff options
author | Christopher Faylor <me@cgf.cx> | 2010-09-20 00:18:36 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-09-20 00:18:36 +0400 |
commit | b64733135ad678a80e14a64a54af0b8538fb8fcf (patch) | |
tree | d5a5d3879ea683eebae366e8a002614f820c304d /winsup/cygwin/wincap.h | |
parent | 392397f46cab7f09e9e3b6214cacbd2d8354d620 (diff) |
* wincap.h (wincaps::has_buggy_thread_startup): Declare.
(wincapc::has_buggy_thread_startup): Ditto.
* wincap.cc::wincap_*): Accommodate has_buggy_thread_startup.
(wincapc::init): Explicitly turn off has_buggy_thread_startup if not WOW64.
* cygthread.h (cygthread::thread_handle): Declare/define new method.
* dcrt0.cc (_dll_crt0): Don't call __sinit here.
(dll_crt0_0): Don't call sigproc_init during initialization if
wincap.has_buggy_thread_startup().
(dll_crt0_1): Defer sigproc_init to here when
wincap.has_buggy_thread_startup(). Call __sinit after we've determined that
we're not forking.
(__main): Rework comments. Add potential future reminder.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index 8f027d089..b8809b0f9 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -52,6 +52,7 @@ struct wincaps unsigned has_always_all_codepages : 1; unsigned has_localenames : 1; unsigned has_mwmo_inputavailable : 1; + unsigned has_buggy_thread_startup : 1; }; class wincapc @@ -109,6 +110,7 @@ public: bool IMPLEMENT (has_always_all_codepages) bool IMPLEMENT (has_localenames) bool IMPLEMENT (has_mwmo_inputavailable) + bool IMPLEMENT (has_buggy_thread_startup) #undef IMPLEMENT }; |