Help us shape the future of Go! Take the 2026 Go Developer Survey

mainthreadharness

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package mainthreadharness drives an AppKit run loop so the main thread dispatch tests can schedule work at it and nest a loop inside a dispatched callback, as a modal dialog or an open menu does.

It is a package of its own, rather than a file in package application, because the go tool does not allow cgo in _test.go files and these helpers must not be linked into the shipped package. Only the tests import it.

Everything here is macOS only; on other platforms the package is empty.

Jump to

Keyboard shortcuts

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