加入注释

back_recharge
lvxinran 2021-07-05 11:09:07 +08:00
parent f22e88f327
commit 9162b2928c
1 changed files with 2 additions and 0 deletions

View File

@ -110,10 +110,12 @@ public class HandlerLogicThread extends Thread{
try {
AyyncWorker ayyncWorker =null;
boolean hasAsyncWorker =false;
//这里检查是否有需要执行的其他线程给过来的任务
while ( (ayyncWorker = ayyncWorkerConcurrentLinkedQueue.poll())!=null){
hasAsyncWorker=true;
ayyncWorker.work(ayyncWorker.getUser());
}
//这里判断是否有新的请求进来
PacketNetData packetNetData = handlerLinkedQueue.poll();
if(packetNetData == null){
if(hasAsyncWorker){