How do I tell if my current thread is the UI thread? How do I tell if my current thread is the UI thread? multithreading multithreading