qthread_exit function declaration added