diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-08-24 19:18:17 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-08-24 19:18:17 +0400 |
commit | 929a140824b8150683df0ce1f8bef0beec3a7f6c (patch) | |
tree | acd35b23ce77377ffdfc5fbc934f697bd6706afa /winsup/cygwin/thread.h | |
parent | 8323a37d5d8987f766001221b99395b8a7a39751 (diff) |
* thread.cc (pthread::pthread): Drop setting parent_tls. Call
sigprocmask to copy parent thread signal mask into new parent_sigmask
member.
(pthread::thread_init_wrapper): Copy _my_tls.sigmask from new
parent_sigmask member.
* thread.h (class pthread): Drop parent_tls. Add parent_sigmask.
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r-- | winsup/cygwin/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h index 76997d628..a6e53a174 100644 --- a/winsup/cygwin/thread.h +++ b/winsup/cygwin/thread.h @@ -444,7 +444,7 @@ private: DWORD thread_id; __pthread_cleanup_handler *cleanup_stack; pthread_mutex mutex; - _cygtls *parent_tls; + sigset_t parent_sigmask; void suspend_except_self (); void resume (); |