Boost logo

Boost Users :

Subject: Re: [Boost-users] ASIO: custom service which works with spawn/yield
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2018-07-26 13:42:15


On Thu, Jul 26, 2018 at 6:31 AM, Bjorn Reese via Boost-users
<boost-users_at_[hidden]> wrote:
> I was referring to 13.23 in its entirety, not just the non-normative
> note at the beginning. Specifically, look at paragraph 13.23/6.2.2.

I'm still certain that an executor_work_guard is needed. 13.23/6.2.2
specifies that `post` only constructs the work guard for the
completion handler's associated executor. It says nothing about a work
guard for the executor associated with the I/O object, see
13.2.7.8/2.1 and 13.2.7.10/1.1

You're right that `post` satisfies 13.2.7.10/1.2

Thanks


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