|
Boost Users : |
Subject: Re: [Boost-users] Using boost::asio::async_write to stream out data
From: Alex Black (alex_at_[hidden])
Date: 2009-07-23 09:24:35
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_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Matheus Araújo Aguiar
Sent: Monday, July 20, 2009 10:39 AM
To: boost-users_at_[hidden]
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_at_[hidden]> 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_at_[hidden]
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_at_[hidden]
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