Boost logo

Boost Users :

Subject: Re: [Boost-users] ASIO: custom service which works with spawn/yield
From: Bjorn Reese (breese_at_[hidden])
Date: 2018-08-02 17:45:32

On 08/02/18 17:24, james via Boost-users wrote:

> Networking.TS has unfortunately tied itself to executors, there was no
> need for that.

Can you elaborate Are you talking about the split between io_context and

> To be fair, it's probably easier to use libuv and put up with the loss
> of type safety. At least you'll be
> able to set timeouts properly.

This is surprising observation, because I have the exact opposite
experience. Can you elaborate?

When I compare my Asio and libuv wrappers, the libuv timer code is more
complex because the cancel operation needs to do a deferred deletion.
The rest of the wrappers are roughly comparable in complexity (if we
ignore all the type-casting needed by the libuv wrapper.)

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