A third template parameter should be added to class fsm, which specifies a BasicLockable.
This would be locked at the start of process_event(), so recursive invocations can be detected.
The default class should throw a logic_error in this case, except if exceptions are disabled.
A third template parameter should be added to class
fsm
, which specifies a BasicLockable. This would be locked at the start ofprocess_event()
, so recursive invocations can be detected. The default class should throw alogic_error
in this case, except if exceptions are disabled.