Hi,

>>>>> On Mon, 13 Feb 2006 09:47:34 +0100
>>>>> Pav Lucistnik <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]  [EMAIL PROTECTED],jp.}FreeBSD.org
http://www.imasy.org/~ume/
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to