Mercurial > hg > Database > Christie-sharp
diff daemon/ThreadPoolExecutors.cs @ 27:efb06874a34e
update RemoteDataGearManager
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 19 Jan 2021 20:18:32 +0900 |
parents | codegear/ThreadPoolExecutors.cs@45ff08d59fda |
children | 0cd2684e401b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/daemon/ThreadPoolExecutors.cs Tue Jan 19 20:18:32 2021 +0900 @@ -0,0 +1,20 @@ +using System.Threading; +using System.Threading.Tasks; +using Christie_net.codegear; + +namespace Christie_net.daemon { +public class ThreadPoolExecutors { + + public ThreadPoolExecutors() { + + } + + public void CreateThreadPool() { + + } + + public void Execute(CodeGearExecutor command) { + Task.Factory.StartNew(() => command.Run()); + } +} +} \ No newline at end of file