aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring/JobEngine.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* On shutdown (job engine stop), don't allow the ObjectDisposedException on ↵Justin Clark-Casey (justincc)2015-02-251-2/+13
| | | | | | BlockingCollection.Take() to propogate if the running thread checked IsRunning before the stop thread set it and disposed of the canellation source. Looks to address http://opensimulator.org/mantis/view.php?id=7453
* Fix bug in JobEngine where an attempt to restart after stop would trigger an ↵Justin Clark-Casey (justincc)2015-02-041-1/+2
| | | | exception because the cancellation source was not recreated.
* Add the missing deleted and re-added JobEngine class from the previous ↵Justin Clark-Casey (justincc)2015-01-121-0/+329
| | | | commit 8e1e8a0
* Make the performance controlling job processing threads introduced in ↵Justin Clark-Casey (justincc)2015-01-121-320/+0
| | | | conference code use a generic JobEngine class rather than 4 slightly different copy/pasted versions.
* refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2014-11-251-1/+1
| | | | | | | | thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
* Change jobengine logging command to "debug jobengine log <int>" rather than ↵Justin Clark-Casey (justincc)2014-11-251-7/+6
| | | | loglevel, in common with similar commands.
* If an exception makes it to the top of a JobEngine request, catch and log ↵Justin Clark-Casey (justincc)2014-11-251-1/+10
| | | | instead of letting it terminate the simulator...
* Add loglevel to jobengine that can be controlled via "debug jobengine ↵Justin Clark-Casey (justincc)2014-11-251-6/+26
| | | | | | | loglevel <level>". Defaults to 0 Level 1 currently does verbose logging about every queued and processed job.
* Add experimental job engine to see if queueing some existing async work ↵Justin Clark-Casey (justincc)2014-11-251-0/+292
during root agent entry to a region improves perf rather than always attempting to execute everything concurrently Job engine is controlled via "debug jobengine start|stop|status". Can only currently be enabled and disabled dynamically at runtime. Currently only applies to code sending initial region data (objects, other avatar data) to a client.