Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2006 17:55:13 +0900
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        pav@FreeBSD.org
Cc:        nobutaka@FreeBSD.org, Kris Kennaway <kris@FreeBSD.org>, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org, ports@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>, cvs-ports@FreeBSD.org
Subject:   Re: cvs commit: ports/japanese/migemo Makefile
Message-ID:  <yger767ljta.wl%ume@mahoroba.org>
In-Reply-To: <1139820454.86374.9.camel@pav.hide.vol.cz>
References:  <200602122224.k1CMOEAY019403@repoman.freebsd.org> <ygeu0b3ly44.wl%ume@mahoroba.org> <20060213035409.GA9141@xor.obsecurity.org> <1139820454.86374.9.camel@pav.hide.vol.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Mon, 13 Feb 2006 09:47:34 +0100
>>>>> Pav Lucistnik <pav@FreeBSD.org> said:

pav> Bumping default thread stack size would be a good solution, there were a
pav> lot of reports about that value being absurdly small on FreeBSD compared
pav> to other systems. Can we perhaps toss some pthread_attr_setstacksize()
pav> into the ruby port?
pav> See /usr/ports/devel/glib20/files/extra-patch-gthread_gthread-posix.c
pav> for inspiration.

I think pthread_attr_setstacksize() changes the value for each thread
created by pthread_create().  It is good solution for the threads
created by pthread_create().  However, since we need to increase
initial thread's stack in this case, we cannot use
pthread_attr_setstacksize() here.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yger767ljta.wl%ume>