[Boost-bugs] [Boost C++ Libraries] #9280: handling deferred events

Subject: [Boost-bugs] [Boost C++ Libraries] #9280: handling deferred events
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-21 15:11:20

#9280: handling deferred events
 Reporter: Dmitry Banschikov <me@…> | Owner: chenry
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: msm
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
 My FSM has two states(connected, disconnected). One of the states is
 submachine with number of other substates. One of this substates has
 deferred events specified.

 When my root machine goes from state with submachine(connected) to
 disconnected, should any deferred events be cleared? If no, then why when
 we enter back in st_connected, deferred events are not handled
 immediately? MSM process them only after processing normal event(I think
 that after processing events MSM check if there are any deferred events).

 In test case I expect either no output after string 'On cmd with reply: 5'
 (when right behaviour is to clear deferred events), or 'On cmd with reply:
 1' (when right behaviour is to process all deferred events on entry into
 st_connected state).

 Tested on 1.51, 1.53, trunk.

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