Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2005 09:54:15 -0700
From:      Scott Long <scottl@freebsd.org>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        Joe Marcus Clarke <marcus@marcuscom.com>
Subject:   Re: cvs commit: src/lib/libpthread/thread thr_attr_init.cthr_init.c thr_private.h thr_stack.c
Message-ID:  <4210D7B7.9090901@freebsd.org>
In-Reply-To: <Pine.GSO.4.43.0502140958440.20689-100000@sea.ntplx.net>
References:  <Pine.GSO.4.43.0502140958440.20689-100000@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Eischen wrote:

> On Mon, 14 Feb 2005, Alfred Perlstein wrote:
> 
> 
>>* Joe Marcus Clarke <marcus@marcuscom.com> [050213 20:30] wrote:
>>
>>>This works for all threads but the initial thread.  Gstreamer uses this
>>>thread for most of its operations.  That stack size was set to be 1 MB
>>>when gstreamer really wanted 2.  For all other thread problems, yes, I
>>>used pthread_attr_setstacksize() as the solution.
>>
>>Can't you wrap main and bounce into it with a thread that has been
>>created using pthread_attr_setstacksize()?
> 
> 
> Exactly!
> 

Again, I think that you have to look at the problem of supporting apps
that are written in a linux-centric way by authors who aren't interested
in merging back changes that complicate the code.

Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4210D7B7.9090901>