Exemple #1
0
 /// <summary>
 /// Starts the new thread
 /// </summary>
 /// <param name="node">The node to call the new thread on</param>
 private void startThread(Node node)
 {
     ThreadManager.StartThread(() => node.DoAction(value));
 }
Exemple #2
0
 /// <summary>
 /// A method that is used to start a new thread.
 /// </summary>
 /// <param name="node">The node that provides work for the thread that is going to be started.</param>
 private static void startThread(Node node)
 {
     ThreadManager.StartThread(() => node.DoAction(true));
 }