diff options
author | John Hurliman | 2009-10-27 00:26:56 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-27 00:26:56 -0700 |
commit | c75d4156487b35aac47aa6818144862a99bb841c (patch) | |
tree | f00f7b485cb3a39477fa77dbd162c40ede533190 /OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | |
parent | Adding missing CSJ2K reference to OpenSim.Region.Physics.Meshing (diff) | |
download | opensim-SC-c75d4156487b35aac47aa6818144862a99bb841c.zip opensim-SC-c75d4156487b35aac47aa6818144862a99bb841c.tar.gz opensim-SC-c75d4156487b35aac47aa6818144862a99bb841c.tar.bz2 opensim-SC-c75d4156487b35aac47aa6818144862a99bb841c.tar.xz |
* Converts ClientManager.ForEach() (and as a result, Scene.ForEachClient()) to use a non-blocking parallel method when operating in async mode
* Minor code readability cleanup
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs index a823f3b..84a4959 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | |||
@@ -372,7 +372,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
372 | OpenSim.Framework.LocklessQueue<OutgoingPacket> queue = m_packetOutboxes[category]; | 372 | OpenSim.Framework.LocklessQueue<OutgoingPacket> queue = m_packetOutboxes[category]; |
373 | TokenBucket bucket = m_throttleCategories[category]; | 373 | TokenBucket bucket = m_throttleCategories[category]; |
374 | 374 | ||
375 | if (m_throttleCategories[category].RemoveTokens(packet.Buffer.DataLength)) | 375 | if (bucket.RemoveTokens(packet.Buffer.DataLength)) |
376 | { | 376 | { |
377 | // Enough tokens were removed from the bucket, the packet will not be queued | 377 | // Enough tokens were removed from the bucket, the packet will not be queued |
378 | return false; | 378 | return false; |