Lars
Lars copied to clipboard
负载均衡远程服务调度系统
Results
1
Lars issues
Sort by
recently updated
recently updated
newest added
``` thread_queue* thread_pool::get_thread(){ if(_index == _thread_cnt) { _index = 0; } return _queues[_index]; } ``` 刘老师您好,这里我们获取线程池中的队列的时候**_index是否应该++**? 源代码中_index好像没有在任何地方进行更新,所以每次取的都是_queue[0]了