Yes, it should be like that.
|
I was adding the Deadlock fix from Pixels Snippet, and he said not to touch the methodso i did i just searched and found out that theses were commented out.. should it be like this ?Code:public void queueMessage(Packet arg1) {Code:public void queueMessage(Packet arg1) { synchronized(queuedPackets) { //if (arg1.getId() != 41) queuedPackets.add(arg1); //else //processPacket(arg1); } }
Yes, it should be like that.
Do not touch means do not alter. So no it shouldn't be commented out. Anything to do with the packet queue leave alone!
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |