From owner-freebsd-hackers Tue Jan 18 9:22:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from houston.matchlogic.com (houston.matchlogic.com [205.216.147.127]) by hub.freebsd.org (Postfix) with ESMTP id B31C014D5F for ; Tue, 18 Jan 2000 09:22:54 -0800 (PST) (envelope-from crandall@matchlogic.com) Received: by houston.matchlogic.com with Internet Mail Service (5.5.2650.21) id ; Tue, 18 Jan 2000 10:22:52 -0700 Message-ID: <64003B21ECCAD11185C500805F31EC0304D9754B@houston.matchlogic.com> From: Charles Randall To: hackers@freebsd.org Subject: RE: The stack size for a process? Date: Tue, 18 Jan 2000 10:22:46 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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