newlib-cygwin/winsup/doc
Corinna Vinschen a54bc198b1 Implement correct RLIMIT_STACK handling
* miscfuncs.cc (struct pthread_wrapper_arg): Add member guardsize.
        (pthread_wrapper): Set thread stack guarantee according to guardsize.
        Tweak assembler code so that $rax/$eax is not required by GCC to
        prepare the wrapper_arg value.
        (CygwinCreateThread): Fix deadzone handling.  Drop setting a "POSIX"
        guardpage (aka page w/ PAGE_NOACCESS).  Always use Windows guard
        pages instead.  On post-XP systems (providing SetThreadStackGuarantee)
        always set up stack Windows like with reserved/commited areas and
        movable guard pages.  Only on XP set up stack fully commited if the
        guardpage size is not the default system guardpage size.
        Fill out pthread_wrapper_arg::guardsize.  Improve comments.
        * resource.cc: Implement RSTACK_LIMIT Linux-like.
        (DEFAULT_STACKSIZE): New macro.
        (DEFAULT_STACKGUARD): Ditto.
        (rlimit_stack_guard): New muto.
        (rlimit_stack): New global variable holding current RSTACK_LIMIT values.
        (__set_rlimit_stack): Set rlimit_stack under lock.
        (__get_rlimit_stack): Initialize rlimit_stack from executable header
        and return rlimit_stack values under lock.
        (get_rlimit_stack): Filtering function to return useful default
        stacksize from rlimit_stack.rlim_cur value.
        (getrlimit): Call __get_rlimit_stack in RLIMIT_STACK case.
        (setrlimit): Call __set_rlimit_stack in RLIMIT_STACK case.
        * thread.cc (pthread::create): Fetch default stacksize calling
        get_rlimit_stack.
        (pthread_attr::pthread_attr): Fetch default guardsize calling
        wincap.def_guard_page_size.
        (pthread_attr_getstacksize): Fetch default stacksize calling
        get_rlimit_stack.
        * thread.h (PTHREAD_DEFAULT_STACKSIZE): Remove.
        (PTHREAD_DEFAULT_GUARDSIZE): Remove.
        (get_rlimit_stack): Declare.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-07-05 15:51:37 +02:00
..
.gitignore mv .cvsignore to .gitignore 2015-03-09 21:40:26 +01:00
ChangeLog winsup/doc: Update ancient README about building documentation 2015-06-23 12:07:47 +01:00
Makefile.in winsup/doc: Use xidepend to generate the source list for FAQ targets as well 2015-06-23 12:07:41 +01:00
README winsup/doc: Update ancient README about building documentation 2015-06-23 12:07:47 +01:00
Wishlist . 2013-05-23 19:03:19 +00:00
aclocal.m4 update to newer autoconf 2006-05-24 16:59:03 +00:00
bodysnatcher.pl Generating faq/faq.body automatically from faq/faq.html whenever latter 2013-05-02 00:10:15 +00:00
configure * Makefile.in: Create install targets. 2014-10-22 20:04:42 +00:00
configure.ac * Makefile.in: Create install targets. 2014-10-22 20:04:42 +00:00
cygserver.xml cygserver.xml: Add new section. How to install Cygserver. 2015-04-27 11:32:25 +02:00
cygwin-api.xml winsup/doc: Create info pages from cygwin documentation 2015-06-23 12:05:29 +01:00
cygwin-ug-net.xml winsup/doc: Create info pages from cygwin documentation 2015-06-23 12:05:29 +01:00
cygwinenv.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
dll.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
effectively.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
faq-api.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
faq-copyright.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
faq-programming.xml Change CVS->GIT in docs 2015-03-10 14:19:42 +01:00
faq-resources.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
faq-setup.xml Add FAQ entry on how Cygwin counters install and update MITM attacks 2015-04-23 21:57:11 +02:00
faq-using.xml Applied the "chgrp `id -g`" improvements suggested by Corinna for the FAQ 2015-02-25 17:41:23 +00:00
faq-what.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
faq.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
fhandler-tut.txt * fhandler-tut.txt: Update description to cygwin 1.5.13 2005-04-20 04:26:34 +00:00
filemodes.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
fo.xsl winsup/doc: Generate ANSI rather than K&R style function prototypes 2015-06-18 11:32:00 +01:00
gcc.xml * gcc.xml (gcc-64): Fix example. 2013-07-25 09:09:14 +00:00
gdb.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
highlights.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
html.xsl winsup/doc: Generate ANSI rather than K&R style function prototypes 2015-06-18 11:32:00 +01:00
intro.xml winsup/doc: Add intro man pages from cygwin-doc 2015-06-23 12:05:40 +01:00
legal.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
logon-funcs.xml winsup/doc: Convert cygwin-api function documentation to refentry elements 2015-06-18 11:32:03 +01:00
man.xsl winsup/doc: Add man.xsl customization stylesheet 2015-06-18 11:32:08 +01:00
misc-funcs.xml winsup/doc: Convert cygwin-api function documentation to refentry elements 2015-06-18 11:32:03 +01:00
new-features.xml Implement correct RLIMIT_STACK handling 2015-07-05 15:51:37 +02:00
ntsec.xml winsup/doc: Create info pages from cygwin documentation 2015-06-23 12:05:29 +01:00
ov-ex-unix.xml Remove mention of installing everything 2015-06-01 17:13:32 +01:00
ov-ex-win.xml Remove mention of installing everything 2015-06-01 17:13:32 +01:00
overview.xml * Throughout, replace http with https as far as cygwin.com and 2015-02-03 13:48:43 +00:00
path.xml winsup/doc: Convert cygwin-api function documentation to refentry elements 2015-06-18 11:32:03 +01:00
pathnames.xml Fix inconsistencies in docs regarding fstab and executable file detection 2015-04-23 22:02:47 +02:00
posix.xml Add alternate signal stack to docs 2015-06-20 20:30:17 +02:00
programming.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
setup-env.xml * setup-files.xml (setup-files): Drop hint to set HOME in Windows 2015-02-16 10:23:01 +00:00
setup-files.xml * setup-files.xml (setup-files): Drop hint to set HOME in Windows 2015-02-16 10:23:01 +00:00
setup-locale.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
setup-maxmem.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
setup-net.xml Change CVS->GIT in docs 2015-03-10 14:19:42 +01:00
specialnames.xml * new-features.sgml (ov-new1.7.22): New section. Document dropped 2013-07-15 14:00:32 +00:00
textbinary.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
ug-info.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
using.xml * Makefile.in: Throughout use parenthesis instead of braces where 2014-08-14 19:44:29 +00:00
utils.xml winsup/doc: Remove 'Usage' prefix from synopses 2015-06-23 12:07:36 +01:00
windres.xml Modernized user guide, API reference, and FAQ generation. Overall 2013-05-01 23:30:25 +00:00
xidepend winsup/doc: Make it easier to extend xidepend to more targets 2015-06-16 10:28:49 +01:00

README

ADDITIONAL BUILD REQUIREMENTS FOR DOCUMENTATION

dblatex
docbook-xml45
docbook-xsl
docbook2x-texi
gzip
texinfo
xmlto