Opened 10 years ago
Last modified 10 years ago
#7608 new Bugs
Custom service of boost::asio hangs after being interrupted
Reported by: | Owned by: | chris_kohlhoff | |
---|---|---|---|
Milestone: | To Be Determined | Component: | asio |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Custom service like logger_service that presented in boost::asio's example hangs after being added async_wait on signal_set. i.e. One has to hit Ctrl-C twice to stop a program.
FYI, my workaround is here.
Attachments (1)
Change History (2)
by , 10 years ago
Attachment: | hang_log.cpp added |
---|
comment:1 by , 10 years ago
I forgot to mention system environment. The program is tested with gcc-4.6.3 on Ubuntu.
Note:
See TracTickets
for help on using tickets.
Reproduce the bug.