Skip to content
  • Jack Moffitt's avatar
    Revert the stacksize work. It's stupid. · 1902634e
    Jack Moffitt authored
    The original patch from Ben Laurie some years ago was needed because
    FreeBSD's default stack size was < 8k and this wasn't acceptable.
    Both Linux and Solaris had reasonable defaults for stacksize, or grew the
    stack as needed to a reasonable size.
    
    Testing today and consulting documentation shows that the default stack
    sizes on FreeBSD, Linux, and Solaris are all acceptable.  Linux can grow
    to 2MB, 32bit Solaris defaults to 1MB, 64bit Solaris defaults to 2MB, and
    FreeBSD defaults to 64k.
    
    In my opinion FreeBSD needs to get with the program and provide a
    reasonable default.  64k is enough for us, but might not be for others.
    
    svn path=/trunk/thread/; revision=2222
    1902634e