Boost logo

Boost Users :

Subject: Re: [Boost-users] Using boost::asio::async_write to stream out data
From: Matheus Araújo Aguiar (matheus.pit_at_[hidden])
Date: 2009-07-17 15:54:39


>
> Matheus -
>
> This is true if you have only called io_sevice::run from one thread. If you
> have multiple threads processing events you will have issues because each
> thread may be writing to the socket at the same time. This would not be a
> TCP
> layer issue... it would be an application problem.
>
> Best Regards -
>

I see your point Michael, but in that case wouldn't the io_service::run
threads be just picking results from the O.S and (maybe) requesting
operations ?
I think the threads wouldn't write to the socket itself, the O.S would do
that.

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