Continue switching library over to pthreads when possible. Tprimes works on Linux 2.6. You can only have 128 procs though.