Boost logo

Boost Users :

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


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