Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Asio] defer, dispatch and post differences?
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2018-01-05 16:02:54


On 5 January 2018 at 16:55, Vinnie Falco via Boost-users <
boost-users_at_[hidden]> wrote:

> On Fri, Jan 5, 2018 at 7:53 AM, Richard Hodges via Boost-users
> <boost-users_at_[hidden]> wrote:
> > Perhaps defer does a post
> > unless the handler is a continuation? I think that would make sense.
>
> And how would it know if the handler is a continuation?
>
>
I think defer imply that the provided handler is a continuation.
There are similar mechanisms proposed in the Executor proposal:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0761r1.pdf
(see page 6).

Joël Lamotte



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