
4 Nov
2008
4 Nov
'08
2:29 p.m.
Igor R wrote:
* Synchronous read, write, accept and connect operations are now thread safe (meaning that it is now permitted to perform concurrent synchronous operations on an individual socket, if supported by the OS).
That's great news. The only unsolved problem now is how to safely stop the synchronous read operation from another thread when I want to close the socket since close() or shutdown() do not seem to be thread safe yet (and as far as I know, cancel() can't be used on Windows XP). Thanks, James -- View this message in context: http://www.nabble.com/-ASIO--Thread-safety-of-socket.write_some---socket.rea... Sent from the Boost - Users mailing list archive at Nabble.com.