
3 Sep
2012
3 Sep
'12
5:08 p.m.
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). Oliver