Jason Evans ecaa6e8c9e Use growable stacks for thread stacks that are the default stack size.
Cache discarded default thread stacks for use in subsequent thread creations.

Create a red zone at the end of each stack (including the initial thread
stack), with the hope of causing a segfault if a stack overflows.

To activate these modifications, add -D_PTHREAD_GSTACK to CFLAGS in
src/lib/libc_r/Makefile.  Since the modifications depend on the VM_STACK
kernel option, I'm not sure how to safely use growable stacks by default.

Testing, as well as algorithmic and stylistic comments are welcome.
1999-07-05 00:35:19 +00:00
..
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1998-09-07 21:55:01 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1999-03-23 05:07:56 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1998-09-07 19:23:55 +00:00
1999-06-23 15:01:22 +00:00
1999-03-23 05:07:56 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1999-06-20 08:28:48 +00:00
1999-03-23 05:07:56 +00:00
1999-06-20 08:28:48 +00:00
1998-09-07 21:55:01 +00:00