removed all traces of pthreads