Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2000 10:22:46 -0700
From:      Charles Randall <crandall@matchlogic.com>
To:        hackers@freebsd.org
Subject:   RE: The stack size for a process?
Message-ID:  <64003B21ECCAD11185C500805F31EC0304D9754B@houston.matchlogic.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64003B21ECCAD11185C500805F31EC0304D9754B>