diff options
author | Teravus Ovares (Dan Olivares) | 2009-12-13 02:08:28 -0500 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-12-13 02:08:28 -0500 |
commit | 4ef8dc7d96fa2d4efd992ff7d304b8894f004c4f (patch) | |
tree | 74b879a7c715db89933260a07cc80fabe82ed568 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | * Mistaken ThreatLevel classification on osGetSimulatorMemory - should have b... (diff) | |
download | opensim-SC-4ef8dc7d96fa2d4efd992ff7d304b8894f004c4f.zip opensim-SC-4ef8dc7d96fa2d4efd992ff7d304b8894f004c4f.tar.gz opensim-SC-4ef8dc7d96fa2d4efd992ff7d304b8894f004c4f.tar.bz2 opensim-SC-4ef8dc7d96fa2d4efd992ff7d304b8894f004c4f.tar.xz |
* 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.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 338f2bb..3c4fa72 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -943,7 +943,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
943 | } | 943 | } |
944 | 944 | ||
945 | if (packetInbox.Dequeue(100, ref incomingPacket)) | 945 | if (packetInbox.Dequeue(100, ref incomingPacket)) |
946 | Util.FireAndForget(ProcessInPacket, incomingPacket); | 946 | ProcessInPacket(incomingPacket);//, incomingPacket); Util.FireAndForget(ProcessInPacket, incomingPacket); |
947 | } | 947 | } |
948 | catch (Exception ex) | 948 | catch (Exception ex) |
949 | { | 949 | { |