update pthreads example