view daemon/ThreadPoolExecutors.cs @ 29:0cd2684e401b

update InputDataGear and more
author riono <e165729@ie.u-ryukyu.ac.jp>
date Thu, 21 Jan 2021 01:18:26 +0900
parents efb06874a34e
children 96fc5e71274e
line wrap: on
line source

using System.Threading;
using System.Threading.Tasks;
using Christie_net.codegear;

namespace Christie_net.daemon {
public class ThreadPoolExecutors {

    // TODO: どこかしらでThreadPoolの設定をする
    
    public ThreadPoolExecutors() {
        
    }
    
    public void CreateThreadPool() {
        
    }
    
    public void Execute(CodeGearExecutor command) {
        Task.Factory.StartNew(() => command.Run());
    }
}
}