# Cross-language issues¶

threading.main_thread will return the thread on which Python was started. Depending on your app’s structure, this might not be the same as the main thread in Java.