basic-loop

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

Basic ALooper event loop example.

Demonstrates how to prepare an ALooper for the current thread, wake it from a separate goroutine, and poll for the wake event. This is the fundamental pattern for any ALooper-based event loop on Android.

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