def current_thread(): t = core.Thread.getCurrentThread() return _thread._get_thread_wrapper(t, _create_thread_wrapper)
def main_thread(): t = core.Thread.getMainThread() return _thread._get_thread_wrapper(t, _create_thread_wrapper)
def current_thread(): t = pm.Thread.getCurrentThread() return _thread._get_thread_wrapper(t, _create_thread_wrapper)
def main_thread(): t = core.Thread.getMainThread() return _thread._get_thread_wrapper(t, _create_thread_wrapper)