mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
* 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."
This commit is contained in:
@@ -38,8 +38,15 @@
|
||||
|
||||
; Sets the method that OpenSim will use to fire asynchronous
|
||||
; events. Valid values are UnsafeQueueUserWorkItem,
|
||||
; QueueUserWorkItem, BeginInvoke, SmartThreadPool, and Thread
|
||||
; async_call_method = SmartThreadPool
|
||||
; QueueUserWorkItem, BeginInvoke, SmartThreadPool, and Thread.
|
||||
; SmartThreadPool is reported to work well on Mono/Linux, but
|
||||
; UnsafeQueueUserWorkItem has been benchmarked with better
|
||||
; performance on .NET/Windows
|
||||
;async_call_method = SmartThreadPool
|
||||
|
||||
; Max threads to allocate on the FireAndForget thread pool
|
||||
; when running with the SmartThreadPool option above
|
||||
MaxPoolThreads = 15
|
||||
|
||||
; ##
|
||||
; ## CLIENTS
|
||||
@@ -51,9 +58,6 @@
|
||||
; Set this to the DLL containing the client stack to use.
|
||||
clientstack_plugin="OpenSim.Region.ClientStack.LindenUDP.dll"
|
||||
|
||||
; Max threads to allocate on the FireAndForget pool
|
||||
MaxPoolThreads = 15
|
||||
|
||||
; ##
|
||||
; ## REGIONS
|
||||
; ##
|
||||
|
||||
Reference in New Issue
Block a user