Branch: Tag:

2014-03-14

2014-03-14 13:49:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Increase the default thread C stack size to 1MB.

The old default (256KB) is a bit too little on current 64-bit hardware.

This essentially reverts 78797d06 (aka src/threads.c:1.157).

Most likely fixes [bug 7061 (#7061)].

1505:      AC_ARG_WITH(thread_c_stack,    MY_DESCR([--with-thread-c-stack=n], -  [tune the thread c-stack (default is 256 * 1024)]), +  [tune the thread c-stack (default is 1024 * 1024)]),    [AC_DEFINE_UNQUOTED(PIKE_THREAD_C_STACK_SIZE,($withval))], -  [AC_DEFINE(PIKE_THREAD_C_STACK_SIZE,(256 * 1024))]) +  [AC_DEFINE(PIKE_THREAD_C_STACK_SIZE,(1024 * 1024))])      AC_ARG_WITH(devpoll, MY_DESCR([--without-devpoll],    [disable support for /dev/poll]),