Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] multiple simultaneous async_read calls
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2014-08-10 18:52:56


On 7 Aug 2014 at 23:11, Lee Clagett wrote:

> unfortunately, the system call doesn't take the user buffer and notify when
> its been filled. That seems ideal, but maybe someone like Nial could
> explain the difficulties of such an implementation at the OS level.

I'd ask a simpler question: what use case is there for configuring
multiple concurrent async reads on the same stream?

On *files*, yes this makes sense. But on sockets/pipes etc, the use
cases are not many (possibly with UDP yes, otherwise no).

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ 
http://ie.linkedin.com/in/nialldouglas/



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