Opened 10 years ago

Last modified 10 years ago

#7288 new Bugs

Under windows it is possible to use io_service::poll without a previous call to reset!

Reported by: code.databyte@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

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 [...]."

Change History (1)

comment:1 by anonymous, 10 years ago

Component: Noneasio
Owner: set to chris_kohlhoff
Note: See TracTickets for help on using tickets.