cvs commit: src/lib/libpthread/thread thr_attr_init.cthr_init.c thr_private.h thr_stack.c

Scott Long scottl at freebsd.org
Mon Feb 14 16:54:21 GMT 2005


Daniel Eischen wrote:

> On Mon, 14 Feb 2005, Alfred Perlstein wrote:
> 
> 
>>* Joe Marcus Clarke <marcus at 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


More information about the cvs-src mailing list