aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ThirdParty/SmartThreadPool
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-05-01 19:29:46 +0100
committerJustin Clark-Casey (justincc)2013-05-01 19:29:46 +0100
commit81a90e30c637f84e6ef5d1cf7c188c1f6db12eb3 (patch)
tree35b588ac6b6da669aa83db7828a40e152f7bca6a /ThirdParty/SmartThreadPool
parentAdd information about creating a PID file for robust to the Robust.ini and Ro... (diff)
downloadopensim-SC_OLD-81a90e30c637f84e6ef5d1cf7c188c1f6db12eb3.zip
opensim-SC_OLD-81a90e30c637f84e6ef5d1cf7c188c1f6db12eb3.tar.gz
opensim-SC_OLD-81a90e30c637f84e6ef5d1cf7c188c1f6db12eb3.tar.bz2
opensim-SC_OLD-81a90e30c637f84e6ef5d1cf7c188c1f6db12eb3.tar.xz
Add in-code exaplanation for the change in cancellation signalling in STP 2.2.3. Remove left in Console.WriteLine accidentally inserted in recent 206fb306
Diffstat (limited to '')
-rw-r--r--ThirdParty/SmartThreadPool/WorkItem.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/ThirdParty/SmartThreadPool/WorkItem.cs b/ThirdParty/SmartThreadPool/WorkItem.cs
index f229d1f..185f10c 100644
--- a/ThirdParty/SmartThreadPool/WorkItem.cs
+++ b/ThirdParty/SmartThreadPool/WorkItem.cs
@@ -753,6 +753,16 @@ namespace Amib.Threading.Internal
753 } 753 }
754 else 754 else
755 { 755 {
756 // **************************
757 // Stock SmartThreadPool 2.2.3 sets these to true and relies on the thread to check the
758 // WorkItem cancellation status. However, OpenSimulator uses a different mechanism to notify
759 // scripts of co-operative termination and the abort code also relies on this method
760 // returning false in order to implement a small wait.
761 //
762 // Therefore, as was the case previously with STP, we will not signal successful cancellation
763 // here. It's possible that OpenSimulator code could be changed in the future to remove
764 // the need for this change.
765 // **************************
756 success = false; 766 success = false;
757 signalComplete = false; 767 signalComplete = false;
758 } 768 }