separated pthreads specific source files