From owner-cvs-all@FreeBSD.ORG Mon Feb 14 14:59:22 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A40C16A4CE; Mon, 14 Feb 2005 14:59:22 +0000 (GMT) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB5EC43D46; Mon, 14 Feb 2005 14:59:21 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) j1EExIKZ026674; Mon, 14 Feb 2005 09:59:19 -0500 (EST) Date: Mon, 14 Feb 2005 09:59:18 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Alfred Perlstein In-Reply-To: <20050214082324.GC32955@elvis.mu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) cc: John-Mark Gurney cc: src-committers@freebsd.org cc: Maxime Henrion cc: cvs-src@freebsd.org cc: cvs-all@freebsd.org cc: Joe Marcus Clarke Subject: Re: cvs commit: src/lib/libpthread/thread thr_attr_init.cthr_init.c thr_private.h thr_stack.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Eischen List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 14:59:22 -0000 On Mon, 14 Feb 2005, Alfred Perlstein wrote: > * 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()? Exactly! -- DE