IsMainThread
bool IsMainThread() const;
thread->Name(), thread->IsMainThread()
if (thread->IsMainThread())