Mercurial > hg > Database > Christie-sharp
annotate codegear/ThreadPoolExecutors.cs @ 26:45ff08d59fda
update CGM
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 12 Jan 2021 21:23:23 +0900 |
parents | |
children |
rev | line source |
---|---|
26 | 1 using System.Threading; |
2 using System.Threading.Tasks; | |
3 | |
4 namespace Christie_net.codegear { | |
5 public class ThreadPoolExecutors { | |
6 | |
7 public ThreadPoolExecutors() { | |
8 | |
9 } | |
10 | |
11 public void CreateThreadPool() { | |
12 | |
13 } | |
14 | |
15 public void Execute(CodeGearExecutor command) { | |
16 Task.Factory.StartNew(() => command.Run()); | |
17 } | |
18 } | |
19 } |