From owner-freebsd-hackers Tue Jan 18 19:18: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from srv4-bsb.bsb.nutecnet.com.br (argonio.bsb.nutecnet.com.br [200.252.253.4]) by hub.freebsd.org (Postfix) with ESMTP id B6B9F15223 for ; Tue, 18 Jan 2000 19:17:58 -0800 (PST) (envelope-from visi0n@aux-tech.org) Received: from ebola.chinatown.org (dl2198-bsb.bsb.nutecnet.com.br [200.252.29.198]) by srv4-bsb.bsb.nutecnet.com.br (8.8.5/SCA-6.6) with ESMTP id CAA04938; Tue, 19 Jan 1999 02:18:44 -0200 (BRV) Date: Wed, 19 Jan 2000 01:16:09 -0200 (BRST) From: visi0n X-Sender: visi0n@ebola.chinatown.org To: Charles Randall Cc: hackers@FreeBSD.ORG Subject: RE: The stack size for a process? In-Reply-To: <64003B21ECCAD11185C500805F31EC0304D9754B@houston.matchlogic.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Where i can get info about it ? =============================================================================== visi0n AUX Technologies [www.aux-tech.org] On Tue, 18 Jan 2000, Charles Randall wrote: > From: Jason Evans [mailto:jasone@canonware.com] > >Thread stacks have a default size of 64kB. > > As you know, stack size can be explicitly set using > pthread_attr_setstacksize(). > > However, note that Solaris uses a pthread stack size of 1 MB. Porter beware. > > >libc_r now uses growable stacks with "guard pages" between stacks > >to try to catch stack overflow. > > In this case, is there a message printed to the console or syslog that tells > the programmer/sysadmin what's happening? > > Charles > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message