All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

*android-main-process-for-testing* Variable

Summary

Variable defining the "Android main process" when not running on Android.

Package

hcl

Initial Value

nil

Description

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.

Notes

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