Netronics.Scheduling.Microthreading.Microthread.Run C# (CSharp) Method

Run() public static method

public static Run ( Microthread microthread ) : void
microthread Microthread
return void
        public static void Run(Microthread microthread)
        {
            microthread._worker.RunMicrothread(microthread);
        }

Same methods

Microthread::Run ( Worker worker ) : void

Usage Example

コード例 #1
0
ファイル: Worker.cs プロジェクト: shlee322/Netronics
 /// <summary>
 /// Microthread를 시작하는 메소드
 /// </summary>
 /// <param name="microthread">시작할 Microthread</param>
 public void RunMicrothread(Microthread microthread)
 {
     QueueWorkItem(() => microthread.Run(this));
 }