adding pthreads file