Subject: [Boost-bugs] [Boost C++ Libraries] #12320: add an example to demonstrate how to leverage sockets concurrently in multithreading scenarios
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-07-09 09:06:56
#12320: add an example to demonstrate how to leverage sockets concurrently in
multithreading scenarios
----------------------------+----------------------------
Reporter: luxiaoshuang@⦠| Owner: chris_kohlhoff
Type: Patches | Status: new
Milestone: Boost 1.62.0 | Component: asio
Version: Boost 1.61.0 | Severity: Cosmetic
Keywords: |
----------------------------+----------------------------
The ideal solution of leveraging sockets concurrently in multithreading
scenarios should 1. not block io workers (the threads where
io_service.run() is invoked), 2. be free of lock race, 3. etc.
There are many threads when you are searching this issue in google, but
usable code is hard to find.
In this proposal, I offer a reference implementation to the people who
wanna call async_write family in multiple threads.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12320> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC