Subject: Re: [boost] [context] Why does boost::ctx::minimum_stacksize() on Windows return 65536
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2012-09-02 14:54:02


Am 02.09.2012 20:27, schrieb Hartmut Kaiser:
>>
>> OK - following suggestion for Windows:
>>
>> minimum_stacksize()/maximum_stacksize() will be static member funcs of
>> class stack_allocator.
>> minimum_stacksize() returns pagesize + 1kB
> Why + 1kb? Shouldn't the guard page have 4k as well?
pagesize == reserved for guard page
1kb usable for application but you can argument that VirtualAlloc will
use a multiple of pagesize

Oliver