Subject: [Boost-bugs] [Boost C++ Libraries] #6548: boost asio async_accept thread context
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-12 16:54:20
#6548: boost asio async_accept thread context
----------------------------------------+-----------------------------------
Reporter: aladjev.andrew@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.46.1 | Severity: Problem
Keywords: c++ networking unix socket |
----------------------------------------+-----------------------------------
how to see the problem:
1) compile attached cpp
2) run program
2) accept /tmp/test unix socket more than 2 times
the output '''will''' be like:
start from 0x1215810
start from 0x12154c0
'''accept from 0x12154c0, async_accept from 0x1215810'''
accept from 0x12154c0, async_accept from 0x12154c0
and program is still '''running'''!
the output '''should''' be like:
start from 0x1215810
start from 0x12154c0
'''accept from 0x1215810, async_accept from 0x1215810'''
accept from 0x12154c0, async_accept from 0x12154c0
and program should '''stop'''!
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6548> 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:09 UTC