# test _thread.exit() function## MIT license; Copyright (c) 2016 Damien P. George on behalf of Pycom Ltdtry:importutimeastimeexceptImportError:importtimeimport_threaddefthread_entry():_thread.exit()_thread.start_new_thread(thread_entry,())_thread.start_new_thread(thread_entry,())# wait for threads to finishtime.sleep(1)print("done")