dummy_threading.currentThread()

dummy_threading.currentThread()[source]

Return the current Thread object, corresponding to the caller’s thread of control.

If the caller’s thread of control was not created through the threading module, a dummy thread object with limited functionality is returned.