LINUX.ORG.RU

История изменений

Исправление KennyMinigun, (текущая версия) :

Кстати, выписка из мана:

On Linux/x86-32, the default stack size for a new thread is 2 megabytes.  Under the NPTL threading implementation, if  the  RLIMIT_STACK soft  resource  limit at the time the program started has any value other than «unlimited», then it determines the default stack size of new threads.  Using pthread_attr_setstacksize(3), the stack size attribute can be explicitly set in the attr argument used to  create  a thread, in order to obtain a stack size other than the default.

Исходная версия KennyMinigun, :

Кстати, выписка из мана:

 On Linux/x86-32, the default stack size for a new thread is 2 megabytes.  Under the NPTL threading implementation, if  the  RLIMIT_STACK
       soft  resource  limit at the time the program started has any value other than «unlimited», then it determines the default stack size of
       new threads.  Using pthread_attr_setstacksize(3), the stack size attribute can be explicitly set in the attr argument used to  create  a
       thread, in order to obtain a stack size other than the default.