OpenSim:Threading strategy

From OpenSim

Jump to: navigation, search

Current Threading strategy

I have been looking for somekind of overall strategy for handling threads in the various servers. There seems to be a lot of different threading strategies in use.

The BaseHttpServer executes on a separate thread, and when ever request is received, the task for handling the specific request is pushed into the thread pool.

The asset cache, uses a number of threads one for serving assets and one for serving textures.

The ClientView creates a thread for each connected client.

The script engine creates a number of threads.

Personal tools