static CoThread() { //读取配置值 int workerThreads = ConfigureHelper.GetConfigureIntValue("X_CO_WORKER_THREADS", 1000); int completionPortThreads = ConfigureHelper.GetConfigureIntValue("X_CO_COMPLETION_PORT_THREADS", 100); ThreadPool.SetMaxThreads(workerThreads, completionPortThreads); new CoLog().Init("co.log", ""); }