From 0d4728fb29c078aa4ad87d83d00e1511e1835e86 Mon Sep 17 00:00:00 2001 From: Per Hedbor <ph@opera.com> Date: Mon, 17 Aug 1998 06:37:51 +0200 Subject: [PATCH] changed stacksize for th_farm() threads to 65Kb from 8Kb. Now it's possible to use fprintf(stderr,...) from them Rev: src/threads.c:1.81 --- src/threads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/threads.c b/src/threads.c index 54d40fc64b..e0473eac5f 100644 --- a/src/threads.c +++ b/src/threads.c @@ -1,5 +1,5 @@ #include "global.h" -RCSID("$Id: threads.c,v 1.80 1998/08/10 23:33:31 hubbe Exp $"); +RCSID("$Id: threads.c,v 1.81 1998/08/17 04:37:51 per Exp $"); int num_threads = 1; int threads_disabled = 0; @@ -1059,7 +1059,7 @@ static struct farmer *new_farmer(void (*fun)(void *), void *args) me->harvest = fun; co_init( &me->harvest_moon ); #ifdef UNIX_THREADS - thr_create(NULL,8192,farm,(void *)me,THR_DAEMON|THR_DETACHED|THR_BOUND,0); + thr_create(NULL,65536,farm,(void *)me,THR_DAEMON|THR_DETACHED,0); #else th_create_small(&me->me, farm, me); #endif -- GitLab