diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-03-29 17:00:36 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-03-29 17:00:36 +0000 |
commit | 4aa4632ad2c4fa5ee145fa7ffbdf45ba6cc45780 (patch) | |
tree | 8d575dc2d5c5c70376ec80435dd226a7ace10b30 /winsup/cygwin/wincap.h | |
parent | bb93b7ab95e10ffdf17eeb6e0e055956b92603c3 (diff) | |
download | cygnal-4aa4632ad2c4fa5ee145fa7ffbdf45ba6cc45780.tar.gz cygnal-4aa4632ad2c4fa5ee145fa7ffbdf45ba6cc45780.tar.bz2 cygnal-4aa4632ad2c4fa5ee145fa7ffbdf45ba6cc45780.zip |
* cygthread.cc (cygthread::terminate_thread): Only try to free
thread stack on systems not freeing it by themselves.
* wincap.h (wincaps::terminate_thread_frees_stack): New element.
* wincap.cc: Implement above element throughout.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index dffe0cc4b..d3823e0c3 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -1,7 +1,7 @@ /* wincap.h: Header for OS capability class. Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, - 2012 Red Hat, Inc. + 2012, 2013 Red Hat, Inc. This file is part of Cygwin. @@ -46,6 +46,7 @@ struct wincaps unsigned wow64_has_secondary_stack : 1; unsigned has_program_compatibility_assistant : 1; unsigned kernel_is_always_casesensitive : 1; + unsigned terminate_thread_frees_stack : 1; }; class wincapc @@ -100,6 +101,7 @@ public: bool IMPLEMENT (wow64_has_secondary_stack) bool IMPLEMENT (has_program_compatibility_assistant) bool IMPLEMENT (kernel_is_always_casesensitive) + bool IMPLEMENT (terminate_thread_frees_stack) #undef IMPLEMENT }; |