Documentation
¶
Overview ¶
Timeout-based ALooper polling example.
Demonstrates how to use PollOnce with a finite timeout so the event loop returns periodically even when no events are pending. This pattern is useful for performing periodic work (heartbeats, progress checks, housekeeping) alongside event-driven I/O.
This program must run on an Android device with NDK looper support.
Click to show internal directories.
Click to hide internal directories.