
29 Oct
2008
29 Oct
'08
2:12 p.m.
My question is that is it safe to call write_some and read_some from different threads without synchronization.
Accessing the same socket object from different threads is unsafe: http://www.boost.org/doc/libs/1_36_0/doc/html/boost_asio/reference/ip__tcp/s... "Thread Safety Distinct objects: Safe. Shared objects: Unsafe. "