Added mythread_EXIT