diff options
author | John Hurliman | 2009-10-21 15:22:23 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-21 15:22:23 -0700 |
commit | 2752a3525c6c57470024d0dddfd69d593abc4594 (patch) | |
tree | b143a6c84d8fbfb75ee28b3e0d37720bcb92aa5c /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Testing out a hack to identify the source of the high cpu usage (diff) | |
download | opensim-SC_OLD-2752a3525c6c57470024d0dddfd69d593abc4594.zip opensim-SC_OLD-2752a3525c6c57470024d0dddfd69d593abc4594.tar.gz opensim-SC_OLD-2752a3525c6c57470024d0dddfd69d593abc4594.tar.bz2 opensim-SC_OLD-2752a3525c6c57470024d0dddfd69d593abc4594.tar.xz |
* Changed the timing calculations for sending resends/acks/pings from per-client back to per-scene
* Testing a fix from Jim to make the cpu usage fix cleaner
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 997f38c..91afa4d 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -3558,7 +3558,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3558 | ProcessTextureRequests(); | 3558 | ProcessTextureRequests(); |
3559 | break; | 3559 | break; |
3560 | case ThrottleOutPacketType.Task: | 3560 | case ThrottleOutPacketType.Task: |
3561 | if (Monitor.TryEnter(m_avatarTerseUpdates.SyncRoot, 1)) | 3561 | if (Monitor.TryEnter(m_avatarTerseUpdates.SyncRoot)) |
3562 | { | 3562 | { |
3563 | try | 3563 | try |
3564 | { | 3564 | { |
@@ -3573,7 +3573,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3573 | } | 3573 | } |
3574 | break; | 3574 | break; |
3575 | case ThrottleOutPacketType.State: | 3575 | case ThrottleOutPacketType.State: |
3576 | if (Monitor.TryEnter(m_primFullUpdates.SyncRoot, 1)) | 3576 | if (Monitor.TryEnter(m_primFullUpdates.SyncRoot)) |
3577 | { | 3577 | { |
3578 | try | 3578 | try |
3579 | { | 3579 | { |
@@ -3586,7 +3586,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3586 | finally { Monitor.Exit(m_primFullUpdates.SyncRoot); } | 3586 | finally { Monitor.Exit(m_primFullUpdates.SyncRoot); } |
3587 | } | 3587 | } |
3588 | 3588 | ||
3589 | if (Monitor.TryEnter(m_primTerseUpdates.SyncRoot, 1)) | 3589 | if (Monitor.TryEnter(m_primTerseUpdates.SyncRoot)) |
3590 | { | 3590 | { |
3591 | try | 3591 | try |
3592 | { | 3592 | { |