|
Boost : |
Subject: Re: [boost] [context] make_fcontext stack pointer unclear from documentation
From: TONGARI (tongari95_at_[hidden])
Date: 2013-05-25 11:53:34
2013/5/25 Oliver Kowalke <oliver.kowalke_at_[hidden]>
> > Can't this library take care of the architecture and always require the
> > StackAllocator to return the lowest address?
>
> boost.context is a low level lib - stack management is out of its scope.
>
I mean the API, no matter how the stack is created.
In the assembly implementation, you know how the stack grows, don't you?
If so, why not requires the users pass the lowest address and leave the
users from having to know the platform specific behavior?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk