From 3155dbd99ce81dc4841ea2380c12068dfb497612 Mon Sep 17 00:00:00 2001 From: deischen Date: Sat, 11 Jan 2003 00:43:20 +0000 Subject: Increase the scheduler stack to 4 pages. This should prevent a stack overflow when dumping thread info (generated by receipt of SIGINFO). Reported by: jmallet --- lib/libc_r/uthread/uthread_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc_r/uthread') diff --git a/lib/libc_r/uthread/uthread_init.c b/lib/libc_r/uthread/uthread_init.c index 41737b1..5367d0b 100644 --- a/lib/libc_r/uthread/uthread_init.c +++ b/lib/libc_r/uthread/uthread_init.c @@ -220,7 +220,7 @@ _thread_init(void) _pthread_page_size = getpagesize();; _pthread_guard_default = _pthread_page_size; - sched_stack_size = _pthread_page_size; + sched_stack_size = 4 * _pthread_page_size; _pthread_attr_default.guardsize_attr = _pthread_guard_default; -- cgit v1.1