title: Parallel generation of partitions
body: <p>I am using an algorithm (implemented in C) that generates partitions of a set. (The code is here: <a href="http://www.martinbroadhurst.com/combinatorial-algorithms.html#partitions" rel="nofollow">http://www.martinbroadhurst.com/combinatorial-algorithms.html#partitions</a>).</p>
  
  <p>I was wondering if there is a way to modify this algorithm to run in parallel instead of linearly?</p>
  
  <p>I've got multiple cores on my CPU and would like split up the generation of partitions into multiple running threads.</p>