diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-02-11 21:37:02 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-02-11 21:37:02 +0400 |
commit | ce48510394663e2fbac99395030cdecdf0b61671 (patch) | |
tree | f294f8f5e8e05d98fb4f999d669927490c422bcc /winsup/cygwin/exception.h | |
parent | 793371f584d847db11cfbd9a900cb4bae0f234cf (diff) |
* miscfuncs.cc (DEFAULT_STACKSIZE): Remove.
(CygwinCreateThread): Simplify code by assuming that now stack-related
input values are undefined. Set stack protection to PAGE_READWRITE,
as is default on Windows. Add lengthy comment to explain POSIX
guardpage.
* thread.cc (pthread_attr::pthread_attr): Initialize stacksize as
PTHREAD_DEFAULT_STACKSIZE. Initialize guardsize as
PTHREAD_DEFAULT_GUARDSIZE.
* thread.h (PTHREAD_DEFAULT_STACKSIZE): Define. Add comment to explain.
(PTHREAD_DEFAULT_GUARDSIZE): Define.
Diffstat (limited to 'winsup/cygwin/exception.h')
0 files changed, 0 insertions, 0 deletions