
On Sat, Nov 14, 2009 at 1:38 PM, Igor R
You may call the methods directly from another thread.
Could you elaborate how you reached this conclusion?
Sorry if i was too short. But i saw no problem calling the socket async write method from a different thread. The async write requests a write operation that's gonna be performed asynchronously and when the operation is complete, the io_service::run thread executes the appropriated handler. If you guarantee that only one thread at a time is calling the object's async method, there are no problems with it, i assume. Did i make a mistake(or more than one) in that reasoning?
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Matheus Araújo Aguiar Computer Scientist matheus.pit@gmail.com