Skip to content

Nesting depth tracking #30

Description

@gjosipovic

In the current implementations of the QHsm state machines in both QP/C and QP/C++, there is a MAX_NEST_DEPTH_ limit for the maximum nesting depth of the state machine. This limit is checked at various steps in the init and dispatch methods. However, these checks fail to capture situations where initial or regular transitions lead to nested states deeper than the limit. To address this, the nesting depth should be tracked during entry to and exit from each state.
Pull request provides a proposed solution to resolve this issue.

GJ

Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions