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 - 01 Dec 2021 19:30:35