The API docs say that all API functions are thread safe, but the unofficial documentation says that “only the set_timeout() function is safe to call from different threads.” Those seem to contradict each other.
I realize that if I’m editing text, I should probably do it on the main thread, so I don’t crash into whatever the user is doing, but is it safe to examine views, open popups, etc., in a background thread (assuming I have proper synchronization)? Or do I need to call set_timeout() to do such things in the main thread?