Boost logo

Boost Users :

Subject: Re: [Boost-users] State of context and coroutine
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2016-06-30 09:09:38


2016-06-30 11:02 GMT+02:00 Michael Steinberg <michsteinb_at_[hidden]>:

> I could try to adapt to the new intended usage of context or change the
> setup to use coroutine.

The suspendedd context is passed as member of struct transfer_t. struct
transfer_t will be passed as parameter to the context-fn if resuemd the
first time or
will be returned from jump_context() which suspended the context before
(you could take a look at coroutine).

> Hence my question is whether the public coroutine interface, specifically
> the asymmetric parts, is stable yet? I
>

yes, it's stable - but coroutine is deprecated in favour of coroutine2



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net