加入注释
parent
f22e88f327
commit
9162b2928c
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Reference in New Issue