* Add some glue that allows LocalPacketHandlers to decide if they want the packet to be processed asynchronously or not.

* Make several packets not asynchronous (such as AgentUpdate).    In theory, all fast returning packet handling methods should not be asynchronous.   Ones that wait on an external resource or a long held lock, should be asynchronous.
This commit is contained in:
Teravus Ovares (Dan Olivares)
2009-12-13 02:08:28 -05:00
parent 87e89efbf9
commit 4ef8dc7d96
2 changed files with 90 additions and 48 deletions

View File

@@ -943,7 +943,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
if (packetInbox.Dequeue(100, ref incomingPacket))
Util.FireAndForget(ProcessInPacket, incomingPacket);
ProcessInPacket(incomingPacket);//, incomingPacket); Util.FireAndForget(ProcessInPacket, incomingPacket);
}
catch (Exception ex)
{