1
0
mirror of https://github.com/golang/go synced 2024-11-26 05:48:05 -07:00
go/misc/cgo/test/backdoor/runtime_gccgo.c
2012-11-01 13:54:09 -07:00

19 lines
432 B
C

// Copyright 2012 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.
// Expose some runtime functions for testing.
// This is the gccgo version of runtime.c.
// +build gccgo
_Bool runtime_lockedOSThread(void);
_Bool LockedOSThread(void) asm(GOPKGPATH ".LockedOSThread");
_Bool
LockedOSThread(void)
{
return runtime_lockedOSThread();
}