/// <summary> /// 创建Comet线程 /// </summary> /// <param name="count">线程数量</param> /// <param name="timeout">请求超时时间</param> public static void CreateCometThreads(int timeout, int count) { Timeout = timeout; CometThreadPool.CreateThreads(count); }
public void BeginWaitRequest() { CometThreadPool.QueueCometWaitRequest(new CometWaitRequest(this)); }