1
0
mirror of https://github.com/golang/go synced 2024-11-08 19:46:23 -07:00
go/misc/cgo/test/backdoor.go

12 lines
307 B
Go
Raw Normal View History

// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cgotest
import _ "unsafe"
//go:linkname lockedOSThread runtime.lockedOSThread
//extern runtime_lockedOSThread
func lockedOSThread() bool