Parallel Dispatcher Loops


(Khionu Sybiern) #1

There are various mechanics in a game engine that benefit strongly from having parallel event loops to rendering. Right now, there is no straight forward way to implement this while using the same World. I’m starting this thread to discuss how we can aim to support that process.

My initial idea is to somehow have Dispatchers threaded separately, yet able to use the same Resources, as a ThreadedDispatchBundle. I’d guess this solution might have too many locks to be viable, but… I’ll leave that to be decided by those with more experience than myself!