The variable *android-main-process-for-testing*
defines the "Android main process" when not running on Android.
*android-main-process-for-testing*
defaults to nil
. If it is set, it must be a mp:process
object, which processes events which are a cons by applying the cl:car
to the cl:cdr
.
*android-main-process-for-testing*
is used by android-funcall-in-main-thread-list and android-funcall-in-main-thread when they are called on non-Android platforms.
general-handle-event processes conses by applying the cl:car
to the cl:cdr
, and therefore any process that uses it to process events will do the right thing. That includes the CAPI events loop, and users of wait-processing-events and process-all-events.
LispWorks User Guide and Reference Manual - 20 Sep 2017