From owner-cvs-src@FreeBSD.ORG Mon Feb 14 16:54:21 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 B35F016A4CE; Mon, 14 Feb 2005 16:54:21 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2126343D48; Mon, 14 Feb 2005 16:54:21 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.254.12] (g4.samsco.home [192.168.254.12]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j1EGskMR028112; Mon, 14 Feb 2005 09:54:46 -0700 (MST) (envelope-from scottl@freebsd.org) Message-ID: <4210D7B7.9090901@freebsd.org> Date: Mon, 14 Feb 2005 09:54:15 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Eischen References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: John-Mark Gurney cc: src-committers@freebsd.org cc: Maxime Henrion cc: cvs-src@freebsd.org cc: Alfred Perlstein 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-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 16:54:21 -0000 Daniel Eischen wrote: > 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! > 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