Tests whether the current thread is the Android main (GUI) thread.
hcl
android-main-thread-p => result
| result |
A boolean. |
The function android-main-thread-p is the predicate for whether the current thread is the Android main (GUI) thread.
For testing, on non-Android platforms android-main-thread-p checks whether the current Lisp process is *android-main-process-for-testing* (if this variable is non-nil) or the Idle process (if *android-main-process-for-testing* is nil).
android-funcall-in-main-thread
*android-main-process-for-testing*
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:21