Adding pthreads-based C implementation

Haven't actually tried building / running on Linux yet, so it's probably busted there, but I will hopefully get to sometime soon. Performs comparably to the GCD implementation on Mac OS X on my machine.