|
Boost : |
Subject: [boost] [context] Why does boost::ctx::minimum_stacksize() on Windows return 65536
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2012-09-01 20:01:04
Hey all,
Why is the minimally possible stack size in Boost.Context on Windows set to
be 64k? This seems to be way too high for applications where only a minimal
amount of stack is required. I assume, that since Boost.Context allocates
the stack using VirtualAlloc the minimum possible value should be equal to
the page size (see
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366887(v=vs.85).as
px).
Regards Hartmut
---------------
http://boost-spirit.com
http://stellar.cct.lsu.edu
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk