Пример #1
0
 /// <summary>
 /// This method is called to start a new thread.
 /// </summary>
 /// <param name="node">A node that is needed to provide context and work to the thread.</param>
 private void startThread(Node node)
 {
     ThreadManager.StartThread(() => node.DoAction(value));
 }
Пример #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));
 }