[Boost-bugs] [Boost C++ Libraries] #4898: Incorect behaviour of function boost::asio::io_service::run() in case when io_service::work was reinitialized

Subject: [Boost-bugs] [Boost C++ Libraries] #4898: Incorect behaviour of function boost::asio::io_service::run() in case when io_service::work was reinitialized
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-25 15:12:31


#4898: Incorect behaviour of function boost::asio::io_service::run() in case when
io_service::work was reinitialized
-------------------------------------------------+--------------------------
 Reporter: Alexander Korkov <korkov@…> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
-------------------------------------------------+--------------------------
 {{{
 using boost::asio::io_service;
 io_service io_service;
 io_service::work *work = new io_service::work(io_service);
 delete work;

 work = new io_service::work(io_service);
 io_service.run(); /// must wait but doesn't do it
 }}}

 gcc (Debian 4.3.2-1.1) 4.3.2[[BR]]
 Debian 5.0.6[[BR]]
 Linux version 2.6.26-2-amd64

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4898>
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:04 UTC