updated sthread_user.c