diff options
author | UbitUmarov | 2017-05-23 06:38:19 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-23 06:38:19 +0100 |
commit | 07e614a32c79b9295b162119d95ab1770243a8cc (patch) | |
tree | 27f78db8119a2b30853c9b4f6b8b91df5ec7394b | |
parent | fix lock position removing a not necessary function (diff) | |
download | opensim-SC-07e614a32c79b9295b162119d95ab1770243a8cc.zip opensim-SC-07e614a32c79b9295b162119d95ab1770243a8cc.tar.gz opensim-SC-07e614a32c79b9295b162119d95ab1770243a8cc.tar.bz2 opensim-SC-07e614a32c79b9295b162119d95ab1770243a8cc.tar.xz |
dont log timeouts on stopped threads
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index f9f103a..524f2be 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -504,7 +504,8 @@ namespace OpenSim | |||
504 | private void WatchdogTimeoutHandler(Watchdog.ThreadWatchdogInfo twi) | 504 | private void WatchdogTimeoutHandler(Watchdog.ThreadWatchdogInfo twi) |
505 | { | 505 | { |
506 | int now = Environment.TickCount & Int32.MaxValue; | 506 | int now = Environment.TickCount & Int32.MaxValue; |
507 | 507 | if(twi.Thread.ThreadState == System.Threading.ThreadState.Stopped) | |
508 | return; | ||
508 | m_log.ErrorFormat( | 509 | m_log.ErrorFormat( |
509 | "[WATCHDOG]: Timeout detected for thread \"{0}\". ThreadState={1}. Last tick was {2}ms ago. {3}", | 510 | "[WATCHDOG]: Timeout detected for thread \"{0}\". ThreadState={1}. Last tick was {2}ms ago. {3}", |
510 | twi.Thread.Name, | 511 | twi.Thread.Name, |