Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3220: Event responded to multiple times in one update
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-26 14:10:08
#3220: Event responded to multiple times in one update
---------------------------+------------------------------------------------
Reporter: anonymous | Owner: andreas_huber69
Type: Bugs | Status: closed
Milestone: Boost 1.40.0 | Component: statechart
Version: Boost 1.39.0 | Severity: Problem
Resolution: invalid | Keywords: statechart orthogonal event dispatch
---------------------------+------------------------------------------------
Changes (by anonymous):
* status: new => closed
* resolution: => invalid
Comment:
The observed behavior is in line with the one specified in the reference:
<http://www.boost.org/libs/statechart/doc/reference.html#forward_event>
Line number 38 of bug.cpp currently reads ...
return forward_event();
Replace this with ...
return discard_event();
... and the program should then work as expected.
Note that forward_event() should only be used in cases where a react
member function determines that the passed event should be handled either
in an outer state or a different orthogonal region.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3220#comment:1> 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:00 UTC