Added mythread_join