From owner-cvs-src@FreeBSD.ORG Mon Feb 14 08:23:24 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98C8416A4CE; Mon, 14 Feb 2005 08:23:24 +0000 (GMT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 728D643D3F; Mon, 14 Feb 2005 08:23:24 +0000 (GMT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 688375C99B; Mon, 14 Feb 2005 00:23:24 -0800 (PST) Date: Mon, 14 Feb 2005 00:23:24 -0800 From: Alfred Perlstein To: Joe Marcus Clarke Message-ID: <20050214082324.GC32955@elvis.mu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1108355421.93267.23.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4.2.1i cc: John-Mark Gurney cc: src-committers@freebsd.org cc: Maxime Henrion cc: cvs-src@freebsd.org cc: cvs-all@freebsd.org cc: Daniel Eischen Subject: Re: cvs commit: src/lib/libpthread/thread thr_attr_init.c thr_init.c thr_private.h thr_stack.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 08:23:24 -0000 * Joe Marcus Clarke [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