Our AdvancedSamples contain a multithreaded version of the pyramid stack. It's very well documented.
If you happen to come up with a better or more simple solution, you are welcome to contact me as we have been looking for one that is easier to use.