Author: sb
Date: Fri Feb 22 16:09:39 2008
New Revision: 7435

Log:
- Do not start a new thread for each iteration of a loop.

Modified:
    trunk/Workflow/src/interfaces/node_branch.php
    trunk/Workflow/src/nodes/control_flow/loop.php
    trunk/WorkflowEventLogTiein/tests/data/DecrementingLoop.log
    trunk/WorkflowEventLogTiein/tests/data/IncrementingLoop.log
    trunk/WorkflowEventLogTiein/tests/data/NestedLoops.log

Modified: trunk/Workflow/src/interfaces/node_branch.php
==============================================================================
--- trunk/Workflow/src/interfaces/node_branch.php [iso-8859-1] (original)
+++ trunk/Workflow/src/interfaces/node_branch.php [iso-8859-1] Fri Feb 22 
16:09:39 2008
@@ -33,6 +33,13 @@
     protected $maxOutNodes = false;
 
     /**
+     * Whether or not to start a new thread for a branch.
+     *
+     * @var bool
+     */
+    protected $startNewThreadForBranch = true;
+
+    /**
      * Activates this node's outgoing nodes.
      *
      * @param ezcWorkflowExecution $execution
@@ -47,11 +54,14 @@
 
         foreach ( $nodes as $node )
         {
-            $node->activate(
-              $execution,
-              $this,
-              $execution->startThread( $threadId, $numNodesToActivate )
-            );
+            if ( $this->startNewThreadForBranch )
+            {
+                $node->activate( $execution, $this, $execution->startThread( 
$threadId, $numNodesToActivate ) );
+            }
+            else
+            {
+                $node->activate( $execution, $this, $threadId );
+            }
         }
 
         return parent::execute( $execution );

Modified: trunk/Workflow/src/nodes/control_flow/loop.php
==============================================================================
--- trunk/Workflow/src/nodes/control_flow/loop.php [iso-8859-1] (original)
+++ trunk/Workflow/src/nodes/control_flow/loop.php [iso-8859-1] Fri Feb 22 
16:09:39 2008
@@ -72,5 +72,12 @@
      * @var integer
      */
     protected $maxOutNodes = 2;
+
+    /**
+     * Whether or not to start a new thread for a branch.
+     *
+     * @var bool
+     */
+    protected $startNewThreadForBranch = false;
 }
 ?>

Modified: trunk/WorkflowEventLogTiein/tests/data/DecrementingLoop.log
==============================================================================
--- trunk/WorkflowEventLogTiein/tests/data/DecrementingLoop.log [iso-8859-1] 
(original)
+++ trunk/WorkflowEventLogTiein/tests/data/DecrementingLoop.log [iso-8859-1] 
Fri Feb 22 16:09:39 2008
@@ -6,63 +6,53 @@
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "10" for 
execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#2(ezcWorkflowNodeVariableSet) for instance #1 of workflow "DecrementingLoop" 
(version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #1 (1 sibling(s)) 
for execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "9" for 
execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #2 (parent: 1, 1 
sibling(s)) for execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "8" for 
execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #3 (parent: 2, 1 
sibling(s)) for execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "7" for 
execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #4 (parent: 3, 1 
sibling(s)) for execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "6" for 
execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #5 (parent: 4, 1 
sibling(s)) for execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "5" for 
execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #6 (parent: 5, 1 
sibling(s)) for execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "4" for 
execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #7 (parent: 6, 1 
sibling(s)) for execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "3" for 
execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #8 (parent: 7, 1 
sibling(s)) for execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "2" for 
execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #9 (parent: 8, 1 
sibling(s)) for execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "1" for 
execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableDecrement) for instance #1 of workflow 
"DecrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #10 (parent: 9, 1 
sibling(s)) for execution #1 of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#5(ezcWorkflowNodeEnd) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "DecrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#5(ezcWorkflowNodeEnd) for instance #1 of workflow "DecrementingLoop" (version 
1).
-MMM DD HH:MM:SS [Debug] [default] [default] Ended thread #10 for execution #1 
of workflow "DecrementingLoop" (version 1).
+MMM DD HH:MM:SS [Debug] [default] [default] Ended thread #0 for execution #1 
of workflow "DecrementingLoop" (version 1).
 MMM DD HH:MM:SS [Info] [default] [default] Ended execution #1 of workflow 
"DecrementingLoop" (version 1).

Modified: trunk/WorkflowEventLogTiein/tests/data/IncrementingLoop.log
==============================================================================
--- trunk/WorkflowEventLogTiein/tests/data/IncrementingLoop.log [iso-8859-1] 
(original)
+++ trunk/WorkflowEventLogTiein/tests/data/IncrementingLoop.log [iso-8859-1] 
Fri Feb 22 16:09:39 2008
@@ -6,63 +6,53 @@
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "1" for 
execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#2(ezcWorkflowNodeVariableSet) for instance #1 of workflow "IncrementingLoop" 
(version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #1 (1 sibling(s)) 
for execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "2" for 
execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #2 (parent: 1, 1 
sibling(s)) for execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "3" for 
execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #3 (parent: 2, 1 
sibling(s)) for execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "4" for 
execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #4 (parent: 3, 1 
sibling(s)) for execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "5" for 
execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #5 (parent: 4, 1 
sibling(s)) for execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "6" for 
execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #6 (parent: 5, 1 
sibling(s)) for execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "7" for 
execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #7 (parent: 6, 1 
sibling(s)) for execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "8" for 
execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #8 (parent: 7, 1 
sibling(s)) for execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "9" for 
execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #9 (parent: 8, 1 
sibling(s)) for execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "10" for 
execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow 
"IncrementingLoop" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #10 (parent: 9, 1 
sibling(s)) for execution #1 of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#5(ezcWorkflowNodeEnd) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "IncrementingLoop" (version 
1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#5(ezcWorkflowNodeEnd) for instance #1 of workflow "IncrementingLoop" (version 
1).
-MMM DD HH:MM:SS [Debug] [default] [default] Ended thread #10 for execution #1 
of workflow "IncrementingLoop" (version 1).
+MMM DD HH:MM:SS [Debug] [default] [default] Ended thread #0 for execution #1 
of workflow "IncrementingLoop" (version 1).
 MMM DD HH:MM:SS [Info] [default] [default] Ended execution #1 of workflow 
"IncrementingLoop" (version 1).

Modified: trunk/WorkflowEventLogTiein/tests/data/NestedLoops.log
==============================================================================
--- trunk/WorkflowEventLogTiein/tests/data/NestedLoops.log [iso-8859-1] 
(original)
+++ trunk/WorkflowEventLogTiein/tests/data/NestedLoops.log [iso-8859-1] Fri Feb 
22 16:09:39 2008
@@ -6,27 +6,23 @@
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "1" for 
execution #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#2(ezcWorkflowNodeVariableSet) for instance #1 of workflow "NestedLoops" 
(version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #1 (1 sibling(s)) 
for execution #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#4(ezcWorkflowNodeVariableSet) for instance #1 of workflow "NestedLoops" 
(version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "j" to "1" for 
execution #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#5(ezcWorkflowNodeLoop) for instance #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#4(ezcWorkflowNodeVariableSet) for instance #1 of workflow "NestedLoops" 
(version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #2 (parent: 1, 1 
sibling(s)) for execution #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#6(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow "NestedLoops" 
(version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#5(ezcWorkflowNodeLoop) for instance #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "j" to "2" for 
execution #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#5(ezcWorkflowNodeLoop) for instance #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#6(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow "NestedLoops" 
(version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #3 (parent: 2, 1 
sibling(s)) for execution #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#7(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow "NestedLoops" 
(version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#5(ezcWorkflowNodeLoop) for instance #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Set variable "i" to "2" for 
execution #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#7(ezcWorkflowNodeVariableIncrement) for instance #1 of workflow "NestedLoops" 
(version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Started thread #4 (parent: 3, 1 
sibling(s)) for execution #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Activated node 
#8(ezcWorkflowNodeEnd) for instance #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#3(ezcWorkflowNodeLoop) for instance #1 of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Debug] [default] [default] Executed node 
#8(ezcWorkflowNodeEnd) for instance #1 of workflow "NestedLoops" (version 1).
-MMM DD HH:MM:SS [Debug] [default] [default] Ended thread #4 for execution #1 
of workflow "NestedLoops" (version 1).
+MMM DD HH:MM:SS [Debug] [default] [default] Ended thread #0 for execution #1 
of workflow "NestedLoops" (version 1).
 MMM DD HH:MM:SS [Info] [default] [default] Ended execution #1 of workflow 
"NestedLoops" (version 1).


-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to