diff options
author | Justin Clark-Casey (justincc) | 2012-03-23 02:49:29 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-23 02:49:29 +0000 |
commit | 4ed833bc9dba8e0208777f8afde32a67aebe143a (patch) | |
tree | 431062b455ce62f98ae36ed4887b53c756d69cab /OpenSim/Framework/Communications | |
parent | Remove unnecessary shutting down check in Scene.Heartbeat(). Add some method... (diff) | |
download | opensim-SC_OLD-4ed833bc9dba8e0208777f8afde32a67aebe143a.zip opensim-SC_OLD-4ed833bc9dba8e0208777f8afde32a67aebe143a.tar.gz opensim-SC_OLD-4ed833bc9dba8e0208777f8afde32a67aebe143a.tar.bz2 opensim-SC_OLD-4ed833bc9dba8e0208777f8afde32a67aebe143a.tar.xz |
Add a scene maintenance thread in parallel to the heartbeat thread. The maintenance thread will end up running regular jobs that don't need to be in the main scene loop.
The idea is to make the critical main scene loop as skinny as possible - it doesn't need to run things that aren't time critical and don't depend on update ordering.
This will be done gradually over time to try and uncover any issues. Many non-criticial scene loop activities are being launched on separate threadpool threads anyway.
This may also allow modules to register their own maintenance jobs without having to maintain their own timers and threads.
Currently the maintenance loop runs once a second, as opposed to the 89ms scene loop.
Diffstat (limited to 'OpenSim/Framework/Communications')
0 files changed, 0 insertions, 0 deletions