Merge branch 'master' into bigmerge

avinationmerge
Melanie 2011-11-12 12:36:52 +00:00
commit 6daa61d6ba
1 changed files with 3 additions and 2 deletions

View File

@ -126,8 +126,7 @@ namespace OpenSim.Framework
thread.Name = name;
thread.Priority = priority;
thread.IsBackground = isBackground;
thread.Start();
ThreadWatchdogInfo twi = new ThreadWatchdogInfo(thread, timeout);
m_log.Debug("[WATCHDOG]: Started tracking thread \"" + twi.Thread.Name + "\" (ID " + twi.Thread.ManagedThreadId + ")");
@ -135,6 +134,8 @@ namespace OpenSim.Framework
lock (m_threads)
m_threads.Add(twi.Thread.ManagedThreadId, twi);
thread.Start();
return thread;
}