Provides a reference to the calling thread.
The thread object representing the calling thread. The result of deleting this object is undefined. If the current thread is not attached to the runtime, a null reference is returned.
See Implementation
Provides a reference to the calling thread.