timeout-poll

command
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL