Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2005 00:23:24 -0800
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        Daniel Eischen <deischen@freebsd.org>
Subject:   Re: cvs commit: src/lib/libpthread/thread thr_attr_init.c thr_init.c thr_private.h thr_stack.c
Message-ID:  <20050214082324.GC32955@elvis.mu.org>
In-Reply-To: <1108355421.93267.23.camel@shumai.marcuscom.com>
References:  <200502131838.j1DIc6tZ020690@repoman.freebsd.org> <1108337583.93267.1.camel@shumai.marcuscom.com> <20050214020531.GD40468@funkthat.com> <1108352249.93267.20.camel@shumai.marcuscom.com> <20050214040349.GA61763@elvis.mu.org> <1108355421.93267.23.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* 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()?

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright@mu.org cell: 408-480-4684



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