RE: [SCXML] <anchor> stuff?

Jim,
thanks for answer.

>As you say in Question 2, the most sensible way to implement anchors is
>to keep a stack of states and snapshots and then pop items off until you
>find a match.  (Note, though that in the case where there is no match,
>you may end up not popping any items off the stack.)  

1.So, all types of anchors must be popped.
Not only the type of current anchor transition.

2.Or you mean that there is a stack for every anchor type.

If first is correct, what purpose of different types of anchors?
I thought that it's for partitioning of different parallel subtasks.
I mean no parallel substates, but different subtargets of machine destination.

Regards, Serge





       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

Received on Thursday, 19 April 2007 22:47:39 UTC