Hello everybody,

 

which possibilities exists to terminate an SCXML-Executor, that is running
in an infinit loop?

 

Background:

My SCXML-state machine contains a loop.

If the SCXML-state machine is loaded by the executor and the executor is set
to "go()", then the executor is never ending.

 

To terminate this infinite loop after a certain time, I could start the
executor into another java-thread and kill this thread after the time-limit
is reached.

But this solution is not the best one I think.

 

Has anyone a better idea?

Exists there something like a watchdog-timer-method
(http://en.wikipedia.org/wiki/Watchdog_timer)?

 

Thanks in advance.

O.K.

Reply via email to