Boost logo

Boost Users :

Subject: Re: [Boost-users] asio::async_write
From: Lloyd (lloyd_at_[hidden])
Date: 2009-11-18 04:38:45


On Wed, 18 Nov 2009 14:24:10 +0530, Igor R <boost.lists_at_[hidden]> wrote:

>> Note that shared_from_this will not work unless object is created on
>> heap and placed in a shared_ptr.
>>
>> Creating asynchronous operation handlers on stack does not make much
>> sense.
>
> It does make sense, if the handler is a lightweight copiable object.
>

What if the handler take so much time in execution?

Thanks,
   Lloyd

______________________________________
Scanned and protected by Email scanner


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