I've added a MAIN_THREAD_STACK_SIZE definition, and put the corresponding
BeOS values commented beneath it. For now MAIN_THREAD_STACK_SIZE is the same as STACK_SIZE. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2377 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ccfdaba3e9
commit
20dde76256
@ -16,7 +16,10 @@
|
||||
#define KSTACK_SIZE (PAGE_SIZE * 2)
|
||||
|
||||
/** Size of the stack given to teams in user space */
|
||||
#define STACK_SIZE (PAGE_SIZE * 16)
|
||||
#define MAIN_THREAD_STACK_SIZE (16 * PAGE_SIZE) // 64 kB
|
||||
// BeOS: (16 * 1024 * 1024) // 16 MB
|
||||
#define STACK_SIZE (16 * PAGE_SIZE)
|
||||
// BeOS: (256 * 1024) // 256 kB
|
||||
|
||||
/** Size of the environmental variables space for a process */
|
||||
#define ENV_SIZE (PAGE_SIZE * 8)
|
||||
|
Loading…
Reference in New Issue
Block a user