|
Boost Users : |
Subject: [Boost-users] Thread safe full duplex sockets
From: Christi258 (fsaii_at_[hidden])
Date: 2017-02-08 09:41:37
This question has been asked many times, but I'm still not satisfied with the
answers.
I want to use a socket in full duplex:
1. asynchronously: with async_read, async_write (multiple threads running
io_service.run())
2. synchronously: with read and write in two distinct threads
I am pretty sure that 1. is thread safe using strands.
But I can find no information about 2.
Please refere to any official documents of boost.
-- View this message in context: http://boost.2283326.n4.nabble.com/Thread-safe-full-duplex-sockets-tp4691552.html Sent from the Boost - Users mailing list archive at Nabble.com.
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