John Hurliman
|
f89c2cac0f
Experimental test to rate limit the incoming packet handler and try to always leave a worker thread available for other tasks
|
15 years ago |
John Hurliman
|
52a4534f7f
* Change the way Util.FireAndForget() calls SmartThreadPool to avoid using a delegate (which STP appears to hold on to). This removes the slow leak I was seeing when using async_call_method=SmartThreadPool and stabilizes allocated memory for an idle OpenSim instance
|
15 years ago |
John Hurliman
|
36b0e5e1d3
Terrible typo in the previous commit!
|
15 years ago |
John Hurliman
|
6ca4b0f366
* Added a check if Util.m_ThreadPool is null before trying to use it, and if so initialize it to sane defaults
|
15 years ago |
John Hurliman
|
2f394b7e7e
* Allow SmartThreadPool to be initialized without setting max stack size (like the original implementation)
|
15 years ago |
Melanie
|
b35fbe1f98
Merge branch 'melanie_test' into prioritization
|
15 years ago |
John Hurliman
|
32ccd5bb40
* Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to Util.FireAndForget()
|
15 years ago |
Melanie
|
8ce4fd7234
Reduce the default pool threads to 15 (from 30) and the minimum from 5 to 2
|
15 years ago |
Melanie
|
8a336c6860
Add MaxPoolThreads in startup to limit the size of the thread pool used
|
15 years ago |
John Hurliman
|
142008121e
* Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). This avoids .NET remoting and a managed->unmanaged->managed jump. Overall, a night and day performance difference
|
15 years ago |
John Hurliman
|
80a8a9c4a7
Converted FireAndForget methods to use a singleton pattern to attempt to work around a Mono bug with nested delegates
|
15 years ago |
John Hurliman
|
fb19d1ca0a
* Try/catch around EndInvoke() when Util.FireAndForget() returns to catch exceptions thrown in the async method
|
15 years ago |
John Hurliman
|
e7c877407f
* Continued work on the new LLUDP implementation. Appears to be functioning, although not everything is reimplemented yet
|
15 years ago |
Melanie
|
6878b26b0d
Merge branch 'diva-textures-osgrid'
|
15 years ago |
John Hurliman
|
387e9f7a7f
* Creates Util.UTF8 and switches some references of Encoding.UTF8 to Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework)
|
15 years ago |
Jeff Ames
|
ee205e7e81
Formatting cleanup.
|
15 years ago |
Diva Canto
|
f4bf581b96
Moved all HG1 operations to HGGridConnector.cs and HypergridServerConnector.cs/HypergridServiceConnector.cs, away from Region.Communications and HGNetworkServersInfo.
|
15 years ago |
Adam Frisby
|
71a4b02c7e
* Minor commit, added two new math utility functions.
|
15 years ago |
John Hurliman
|
584c113836
Added Util.FireAndForget(), to replace leaking calls to Delegate.BeginInvoke()
|
15 years ago |
Melanie
|
257ed4c4ac
Remove debugging output frm ini file loading. Make it collect matching
|
15 years ago |
Melanie
|
e97beb07c9
Add extensive debug output to Util.Glob
|
15 years ago |
Melanie
|
d10f157183
Remove GetFullPath call from config includes, because it barfs in Windoze
|
15 years ago |
Melanie
|
178b40971a
Add a method to init the OSSL Api's m_LSL_Api member back to the OSSL Api
|
15 years ago |
Melanie
|
efc57bc3d7
Allow arbitrary wildcards in config includes. Things like
|
15 years ago |
Jeff Ames
|
a23d64dec1
Formatting cleanup.
|
15 years ago |
Jeff Ames
|
840de6c036
Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt.
|
15 years ago |
Jeff Ames
|
35b450d41d
Add copyright headers, formatting cleanup, ignore some generated files.
|
15 years ago |
diva
|
896c206718
One more utility. Not used yet.
|
15 years ago |
Adam Frisby
|
70f6a2852e
* Fixes [irritating] edge case in Util.GetLocalHost which could return an IPv6 address if no non-loopback IPv4 address can be found.
|
15 years ago |
Adam Frisby
|
2d06135166
* Adds new NetworkUtil class, contains methods for handling IP resolution when located on the same subnet. (Eg, can be used to avoid NAT Loopback requirements if fully utilized.)
|
15 years ago |