aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/OpenSim.ini.example
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-22 01:30:12 -0700
committerJohn Hurliman2009-10-22 01:30:12 -0700
commit2f394b7e7ebf991c7a70f93bf251d26d8043aaa2 (patch)
tree28e1635d47af4cfe4337d1d68f30090860ca01ca /bin/OpenSim.ini.example
parentRemove the "mel_t" from version string (diff)
downloadopensim-SC-2f394b7e7ebf991c7a70f93bf251d26d8043aaa2.zip
opensim-SC-2f394b7e7ebf991c7a70f93bf251d26d8043aaa2.tar.gz
opensim-SC-2f394b7e7ebf991c7a70f93bf251d26d8043aaa2.tar.bz2
opensim-SC-2f394b7e7ebf991c7a70f93bf251d26d8043aaa2.tar.xz
* Allow SmartThreadPool to be initialized without setting max stack size (like the original implementation)
* Only initialize Util's SmartThreadPool if it is actually being used * No longer initializing Util's SmartThreadPool with a custom max stack size. From MSDN: "Avoid using this constructor overload. The default stack size used by the Thread(ThreadStart) constructor overload is the recommended stack size for threads."
Diffstat (limited to '')
-rw-r--r--bin/OpenSim.ini.example14
1 files changed, 9 insertions, 5 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index 79d57d2..08f87d6 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -38,8 +38,15 @@
38 38
39 ; Sets the method that OpenSim will use to fire asynchronous 39 ; Sets the method that OpenSim will use to fire asynchronous
40 ; events. Valid values are UnsafeQueueUserWorkItem, 40 ; events. Valid values are UnsafeQueueUserWorkItem,
41 ; QueueUserWorkItem, BeginInvoke, SmartThreadPool, and Thread 41 ; QueueUserWorkItem, BeginInvoke, SmartThreadPool, and Thread.
42 ; async_call_method = SmartThreadPool 42 ; SmartThreadPool is reported to work well on Mono/Linux, but
43 ; UnsafeQueueUserWorkItem has been benchmarked with better
44 ; performance on .NET/Windows
45 ;async_call_method = SmartThreadPool
46
47 ; Max threads to allocate on the FireAndForget thread pool
48 ; when running with the SmartThreadPool option above
49 MaxPoolThreads = 15
43 50
44 ; ## 51 ; ##
45 ; ## CLIENTS 52 ; ## CLIENTS
@@ -51,9 +58,6 @@
51 ; Set this to the DLL containing the client stack to use. 58 ; Set this to the DLL containing the client stack to use.
52 clientstack_plugin="OpenSim.Region.ClientStack.LindenUDP.dll" 59 clientstack_plugin="OpenSim.Region.ClientStack.LindenUDP.dll"
53 60
54 ; Max threads to allocate on the FireAndForget pool
55 MaxPoolThreads = 15
56
57 ; ## 61 ; ##
58 ; ## REGIONS 62 ; ## REGIONS
59 ; ## 63 ; ##