17 Commits

Author SHA1 Message Date
UbitUmarov
bd2ea28ede missing change 2023-03-07 14:36:13 +00:00
UbitUmarov
ec39f85a7a cosmetics 2023-03-07 14:33:42 +00:00
UbitUmarov
2346af0715 smartThreadPool changes 2022-10-02 12:03:44 +01:00
UbitUmarov
a4bd8a91c5 cosmetics 2021-11-20 01:58:08 +00:00
UbitUmarov
94d1cf1205 smartthreadpool: replace its locked dictionary 2021-09-03 14:36:57 +01:00
UbitUmarov
1db6a541bd more changes to smartthreadpool 2021-01-13 16:23:49 +00:00
UbitUmarov
d72f19111c smartthreadpool: place a global throttle on threads creation if pool as less than min number of threads ( 20/s versus .net 1/s in all cases) 2021-01-02 12:38:25 +00:00
UbitUmarov
4b7502c1dc smartthreadpool: remove workitems priority. Its lack of fairness could cause issues hard to debug if we tried to use it (we don't) (runprebuild) 2020-12-31 14:29:36 +00:00
UbitUmarov
b61df051db smartthreadpool: suport callback delegates with no return value (WaitCallBack), use it on our fireandforget (other places later) 2020-12-31 13:04:44 +00:00
UbitUmarov
0389c02fd5 smartthreadpool: ofc missed the relevant file 2020-12-31 02:01:39 +00:00
UbitUmarov
64fd819b81 still some windows code 2020-12-30 22:07:42 +00:00
UbitUmarov
b667bff8bb smartthreadpool: httpcontext will be gone (we dont use it) 2020-12-30 11:53:46 +00:00
UbitUmarov
4ab792cd13 smartthreadpool: remove old windows(like CE) support, remove tabs.. (do runprebuild) 2020-12-30 11:38:18 +00:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Justin Clark-Casey (justincc)
81a90e30c6 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 2013-05-01 19:29:46 +01:00
Justin Clark-Casey (justincc)
206fb306a7 Update SmartThreadPool to latest version 2.2.3 with a major and minor change.
SmartThreadPool code comes from http://www.codeproject.com/Articles/7933/Smart-Thread-Pool
This version implements thread abort (via WorkItem.Cancel(true)), threadpool naming, max thread stack, etc. so we no longer need to manually patch those.
However, two changes have been made to stock 2.2.3.
Major change: WorkItem.Cancel(bool abortExecution) in our version does not succeed if the work item was in progress and thread abort was not specified.
This is to match previous behaviour where we handle co-operative termination via another mechanism rather than checking WorkItem.IsCanceled.
Minor change: Did not add STP's StopWatch implementation as this is only used WinCE and Silverlight and causes a build clash with System.Diagnostics.StopWatch
The reason for updating is to see if this improves http://opensimulator.org/mantis/view.php?id=6557 and http://opensimulator.org/mantis/view.php?id=6586
2013-05-01 19:01:43 +01:00
Teravus Ovares
1a47ff8094 * This is Melanie's XEngine script engine. I've not tested this real well, however, it's confirmed to compile and OpenSimulator to run successfully without this script engine active. 2008-05-30 12:27:06 +00:00