Core.Actions.TerminateLanes
Classification
Name | TerminateLanes |
Short Description | To explicitly stop of a parallel activity |
Class | End Node |
Extension | OTX Core library |
Group | End node related actions |
Exceptions | - |
Checker Rules | Core_Chk022 |
Standard Compliant | Yes |
OTL Syntax
terminate;
Description
With the OTX TerminateLanes activity, a parallel activity can be terminated explicitly and directly. For further description see Parallel activity.
OTL Examples
Integer intVar1 = 0;
Integer intVar2 = 0;
String stringVar1 = "";
parallel
{
lane
{
intVar1 = 1;
intVar1 = 2;
intVar1 = 3;
intVar1 = 4;
intVar1 = 5;
intVar1 = 6;
intVar1 = 7;
intVar1 = 8;
intVar1 = 9;
intVar1 = 10;
stringVar1 = "I may not happen because of the TerminateLanes";
}
lane
{
intVar2 = 1;
intVar2 = 2;
terminate;
}
}