Boost logo

Boost :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2008-04-07 09:23:08


Boris wrote:
> On Mon, 07 Apr 2008 11:40:48 +0200, Sebastian Redl
> <sebastian.redl_at_[hidden]> wrote:
>
>> The only way to simulate asynchronous I/O using blocking calls is to use
>> a separate thread for every I/O object.
>>
>
> This doesn't work either as you can't interrupt the blocking call if you
> want to close the stream.
>
You can kill the thread. Not exactly portable, and will probably leak
resources, though.

Sebastian


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