I'm not 100% clear on this yet, is it safe for my thread to call async_write over and over again without waiting for previous writes to complete?
 
Is it safe to do this on two different threads writing each out on their own socket?
 
thx
 
- Alex


From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Matheus Araújo Aguiar
Sent: Monday, July 20, 2009 10:39 AM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] Using boost::asio::async_write to stream out data


On Sat, Jul 18, 2009 at 2:59 PM, Igor R <boost.lists@gmail.com> wrote:
The following thread can be helpful:
http://www.nabble.com/-asio--async-write-handler-is-not-called-until-the-socket-is-not-closed-tt23311621.html#a23332099
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Many thanx, Igor, this thread is really helpful. Finally i understand it and see i was wrong in admitting that many async operations could be requested without waiting for completion.

best regards,
--
Matheus Araújo Aguiar
Computer Scientist
matheus.pit@gmail.com