Parallel generate c sources

A simple implementation for https://github.com/fasterthanlime/rock/issues/546

I don't have any experience on parallelization. 
It will be good if anyone can do a review or just write a new ThreadPool.