added thr_exit_current - made userspace test thread call this through syscall