This adds a simple event dispatcher class that will feed multiple processors in a simple loop.
It has it's downsides:
If one processor is way behind or new it'll starve the others until it's caught up.
If one processor is running into an error processing an event it'll stop all of them working.
We could address the error situation. Interested in thoughts on the catching up situation. An obvious answer to that is to introduce concurrency and have one ESP per thread / process, but that's not going to be quick to implement.
This adds a simple event dispatcher class that will feed multiple processors in a simple loop.
It has it's downsides:
We could address the error situation. Interested in thoughts on the catching up situation. An obvious answer to that is to introduce concurrency and have one ESP per thread / process, but that's not going to be quick to implement.