コード例 #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));
 }