From 80b24bb8d5d29ac89643fbcdac0fe972c6ed7977 Mon Sep 17 00:00:00 2001 From: deischen Date: Tue, 15 Feb 2005 15:02:11 +0000 Subject: Set the default guardsize and stacksize in the default thread attribute when the library is initialized. --- lib/libkse/thread/thr_init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libkse/thread') diff --git a/lib/libkse/thread/thr_init.c b/lib/libkse/thread/thr_init.c index 3272365..f963789 100644 --- a/lib/libkse/thread/thr_init.c +++ b/lib/libkse/thread/thr_init.c @@ -435,6 +435,8 @@ init_private(void) _thr_stack_default = THR_STACK32_DEFAULT; _thr_stack_initial = THR_STACK32_INITIAL; } + _pthread_attr_default.guardsize_attr = _thr_guard_default; + _pthread_attr_default.stacksize_attr = _thr_stack_default; init_once = 1; /* Don't do this again. */ } else { /* -- cgit v1.1