pthreads initial commit