create_pthreads example