Updated pthreads