private static WorkerThreadPool sendTaskThreadPool = new WorkerThreadPool("task",minSendNum,maxSendNum,queueCapacity,blockedMode);
public static WorkerThreadPool getSendTaskThreadPool()
{
return sendTaskThreadPool;
}
/*信号*/
private static Semaphore sendThreadPoolSemaphore = new Semaphore(sendCount);
public static WorkerThreadPool getSendTaskThreadPool()
{
return sendTaskThreadPool;
}
/*信号*/
private static Semaphore sendThreadPoolSemaphore = new Semaphore(sendCount);