rename simple_stack_allocator into standard_stack_allocator

Conflicts:
	performance/performance_create_standard.cpp
This commit is contained in:
Oliver Kowalke
2014-01-27 19:48:28 +01:00
parent 98dae1bc98
commit 43a3311df0
18 changed files with 249 additions and 72 deletions

View File

@@ -14,7 +14,7 @@
#include <boost/assert.hpp>
#include <boost/config.hpp>
#include <boost/coroutine/protected_stack_allocator.hpp>
#include <boost/coroutine/standard_stack_allocator.hpp>
#include <boost/coroutine/stack_context.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/utility.hpp>
@@ -32,7 +32,7 @@ public:
preallocated_stack_allocator() :
stack_ctx_()
{
boost::coroutines::protected_stack_allocator allocator;
boost::coroutines::standard_stack_allocator allocator;
allocator.allocate( stack_ctx_, default_stacksize() );
}
@@ -47,13 +47,13 @@ public:
}
static std::size_t maximum_stacksize()
{ return boost::coroutines::protected_stack_allocator::maximum_stacksize(); }
{ return boost::coroutines::standard_stack_allocator::maximum_stacksize(); }
static std::size_t default_stacksize()
{ return boost::coroutines::protected_stack_allocator::default_stacksize(); }
{ return boost::coroutines::standard_stack_allocator::default_stacksize(); }
static std::size_t minimum_stacksize()
{ return boost::coroutines::protected_stack_allocator::minimum_stacksize(); }
{ return boost::coroutines::standard_stack_allocator::minimum_stacksize(); }
};
#ifdef BOOST_HAS_ABI_HEADERS