I've check-in a TaskScheduler which contains a thread pool and pin
each thread to a core: RoundRobinThreadAffinedTaskScheduler.
The Disruptor constructor takes a TaskScheduler used to run the event
processors.
You will find examples in the performance tests: each disruptor perf
test now has 2 versions: one with affinity and another one without.
Details of the commit on github:
https://github.com/odeheurles/Disruptor-net/commit/6e3aad51722064575896cce445c688a7b58381d8
Olivier