예제 #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));
 }
예제 #2
0
파일: Circuit.cs 프로젝트: rveens/OOPA
 /// <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));
 }