Boost logo

Boost :

Subject: [boost] [context] Windows ctx::maximum_stacksize() runtime asserts
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2012-09-01 19:33:21

Hey all,

The Windows implementation of boost::ctx::maximum_stacksize() does always

std::size_t maximum_stacksize()
    BOOST_ASSERT( ! is_stack_unbound() );
    static std::size_t stacksize = 8 * 1024 * 1024;
    return stacksize;

That is because is_stack_unbound() will unconditionally return true.
Patch is attached - ok to commit?

Regards Hartmut

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