changed kthread_exit() and proc_thread_exited()