Created by: byzhang
I can think of OpenMP, but not sure whether it fits your threading model. If you can point me some reference code, I'm happy to create a pull request.