smpblinky

command
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Smpblinky tests the Go and noos schedulers. The onboard LED informs about the used CPU: CPU0 turns it off, CPU1 turns it on.

The first part of this test blinks the onboard LED three times, switching the running thread between CPUs. The second part spawns two busy threads and leaves the CPU selection to the schedulers. Now the onboard LED should bilink unevenly if the threads run on both CPUs.

See also weacta10/examples/smpblinky for better version of this program that uses two LEDs.

Jump to

Keyboard shortcuts

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