$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [boost.asio] Is it safe to call write() and async_read at the same time?
From: Igor R (boost.lists_at_[hidden])
Date: 2011-05-12 03:52:52
> Hmmm, are you sure? I've thought pthread sockets are thread-safe. Or do you
> mean boost layer over pthread sockets not being thread-safe?
I mean that ASIO documentation states explicitly:
<<Thread Safety:
Distinct objects: Safe.
Shared objects: Unsafe>>
http://www.boost.org/doc/libs/1_46_1/doc/html/boost_asio/reference/ip__tcp/socket.html