Boost logo

Boost :

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

Am 02.09.2012 20:11, schrieb Hartmut Kaiser:
>> good point - both functions should be part of the stack_allocator
>> interface. I'll change it asap.
>> What are the minimum and maximum stacksize on the several Windows versions
>> (XP, 7, 8, Ce, R, ...)? I didn't found infos in the MSDN about this issue.
>> Maybe pagesize? SUggestions?
> Well, I can't answer this question. All I know is that VirtualAlloc does not
> allow allocating less than a page, regardless of the (Windows) system. Thus
> I assume the minimal stack size in Boost.Context should be a page as well
> (well, plus guard page).
revision 80375 contains suggested modifications - x64 Windows required a
stacksize larger than 8kB (exception handling raises exception otherwise).


Boost list run by bdawes at, gregod at, cpdaniel at, john at