Update pthreads.sh