From owner-freebsd-current Sun Sep 15 14:54:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9673B37B400 for ; Sun, 15 Sep 2002 14:54:19 -0700 (PDT) Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0815343E42 for ; Sun, 15 Sep 2002 14:54:19 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id g8FLsH5k018138; Sun, 15 Sep 2002 17:54:18 -0400 (EDT) Date: Sun, 15 Sep 2002 17:54:17 -0400 (EDT) From: Daniel Eischen To: Garrett Wollman Cc: freebsd-current@FreeBSD.ORG Subject: Re: cvsup, mozilla, pan segfaulting since yesterday? In-Reply-To: <200209152047.g8FKl6Li017175@khavrinen.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 15 Sep 2002, Garrett Wollman wrote: > < said: > > > There are portable ways to do this. If you need bigger thread > > stacks, then set them with pthread_attr_setstacksize(). If you > > need bigger guard pages, the set them with pthread_attr_setguardsize(). > > I think it is reasonable to expect that the default stack size will be > sufficient to hold the stack frame of any single Standard library > function. (If the Standard doesn't require this, it ought to.) I agree, but I didn't want someone to go off in the wrong direction. Plus, the test program posted (was it here, or in the other thread?) was being used to show a problem with thread stack sizes. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message