Boost logo

Boost :

Subject: [boost] [context] other version with stack
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2011-01-27 15:27:44


I've uploaded another version (0.5.0) which accepts an stack (instead of
an stack-allocator) which will be stored (moved) inside boost::context.
the implicit interface of the stack looks like:

class my_stack {
public:
        void * address() const;
        std::size_t size() const;
};

boost::protected_stack stack( 1024);
boost::context ctx( boost::context::create( my_fn, 0, stack) );

Oliver


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk