[Boost-bugs] [Boost C++ Libraries] #7288: Under windows it is possible to use io_service::poll without a previous call to reset!

Subject: [Boost-bugs] [Boost C++ Libraries] #7288: Under windows it is possible to use io_service::poll without a previous call to reset!
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-26 11:58:05


#7288: Under windows it is possible to use io_service::poll without a previous
call to reset!
------------------------------------------+---------------------------------
 Reporter: code.databyte@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.52.0
 Severity: Problem | Keywords:
------------------------------------------+---------------------------------
 I found out, that it is possible under windows to use io_service::poll
 without calling reset on the same service before.

 Under Linux the internal variable "stopped_" is checked in the
 immplementation. The windows immplementation doesent do that, although the
 documentation says:
 "The poll() function runs handlers [...] until the io_service has been
 stopped [...]."

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