Boost logo

Boost Users :

Subject: Re: [Boost-users] ASIO: custom service which works with spawn/yield
From: Bjorn Reese (breese_at_[hidden])
Date: 2018-07-26 14:23:44


On 07/26/18 15:42, Vinnie Falco wrote:

> 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

The post operation is handed off to the executor (13.23/6.3) so I would
assume that the definition of "outstanding work" in 14.2 rather than
13.2.7.10 applies.


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