//go:build !(windows || linux || darwin) package osthread func onmainthread() bool { return false }