Boost logo

Boost :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2008-04-07 05:40:48


Boris wrote:
> I ask as I was trying to extend Boost.Asio and add support for
> C++ standard streams on the weekend. I came to the conclusion that this is
> impossible (as calls to C++ standard streams block and there is no way to
> interrupt a blocking call, at least not in a portable way).
>
The only way to simulate asynchronous I/O using blocking calls is to use
a separate thread for every I/O object.

Sebastian Redl


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk