Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Context stack growing inwards
From: TONGARI J (tongari95_at_[hidden])
Date: 2016-02-29 10:12:32

2016-02-29 22:19 GMT+08:00 Thomas Ziegenhagen <thomas_at_[hidden]>:

> Hi again,
> just noticed that the make_fcontext() documentation says that it expects
> the stack pointer to be at the end or at the beginning, depending on the
> architecture.
> So please re-read my last mail as a feature request:
> If Boost.Context is a platform-independent context switching library,
> please make its stack pointer parameter also platform-independent.
> Rationale:
> Booost.Context knows best on which platform it runs. If the API is
> supposed to work the same on all supported systems, its parameter should do
> so, too.
> Other than that: Sorry for wasting your time.

I have the same opinion and I had argued that with the lib author, but he
somewhat insisted that Booost.Context should not do so... :(


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at