Next: Terminating Model Execution, Previous: Calling a Node, Up: Transferring Control between Nodes [Contents][Index]
Use the following function in an event handler to return from last nested call to qsmm_node_call_default
.
This function sets the flag associated with a multinode model causing the function qsmm_node_call_default
to exit.
The latter function resets that flag before sending an event QSMM_EVT_NODE_ENTER
to the instruction class set and before sending an event QSMM_EVT_ACTIVATE
to an instruction meta-class and checks the flag after processing these events.
In case of calling the function qsmm_return_to_caller_node
while processing the event QSMM_EVT_ACTIVATE
by the instruction meta-class, qsmm_node_call_default
ignores a set instruction outcome.