diff options
author | Melanie Thielker | 2016-05-23 19:20:05 +0200 |
---|---|---|
committer | Melanie Thielker | 2016-05-23 19:20:05 +0200 |
commit | 08bd80f5f4597b7841c02063fa53723cabcc3c4d (patch) | |
tree | e3651d867887ea4b979a4e0c61a94018359fc94a /ThirdParty | |
parent | Fixed discrepancy between code and ini symbols. (diff) | |
parent | Minor improvement over the previous commit -- make sure the code exists in th... (diff) | |
download | opensim-SC-08bd80f5f4597b7841c02063fa53723cabcc3c4d.zip opensim-SC-08bd80f5f4597b7841c02063fa53723cabcc3c4d.tar.gz opensim-SC-08bd80f5f4597b7841c02063fa53723cabcc3c4d.tar.bz2 opensim-SC-08bd80f5f4597b7841c02063fa53723cabcc3c4d.tar.xz |
Merge branch 'master' of opensimulator.org:/var/git/opensim
Diffstat (limited to 'ThirdParty')
-rw-r--r-- | ThirdParty/SmartThreadPool/SmartThreadPool.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ThirdParty/SmartThreadPool/SmartThreadPool.cs b/ThirdParty/SmartThreadPool/SmartThreadPool.cs index 615518e..9043d3a 100644 --- a/ThirdParty/SmartThreadPool/SmartThreadPool.cs +++ b/ThirdParty/SmartThreadPool/SmartThreadPool.cs | |||
@@ -689,9 +689,10 @@ namespace Amib.Threading | |||
689 | #if !(_SILVERLIGHT) && !(WINDOWS_PHONE) | 689 | #if !(_SILVERLIGHT) && !(WINDOWS_PHONE) |
690 | workerThread.Priority = _stpStartInfo.ThreadPriority; | 690 | workerThread.Priority = _stpStartInfo.ThreadPriority; |
691 | #endif | 691 | #endif |
692 | workerThread.Start(); | ||
693 | workerThread.Name = string.Format("STP:{0}:{1}", Name, _threadCounter); | 692 | workerThread.Name = string.Format("STP:{0}:{1}", Name, _threadCounter); |
694 | ++_threadCounter; | 693 | workerThread.Start(); |
694 | |||
695 | ++_threadCounter; | ||
695 | 696 | ||
696 | // Add it to the dictionary and update its creation time. | 697 | // Add it to the dictionary and update its creation time. |
697 | _workerThreads[workerThread] = new ThreadEntry(this); | 698 | _workerThreads[workerThread] = new ThreadEntry(this); |