...

Source file src/runtime/race/race.go

     1	// Copyright 2012 The Go Authors. All rights reserved.
     2	// Use of this source code is governed by a BSD-style
     3	// license that can be found in the LICENSE file.
     4	
     5	// +build race,linux,amd64 race,freebsd,amd64 race,netbsd,amd64 race,darwin,amd64 race,windows,amd64 race,linux,ppc64le race,linux,arm64
     6	
     7	package race
     8	
     9	// This file merely ensures that we link in runtime/cgo in race build,
    10	// this is turn ensures that runtime uses pthread_create to create threads.
    11	// The prebuilt race runtime lives in race_GOOS_GOARCH.syso.
    12	// Calls to the runtime are done directly from src/runtime/race.go.
    13	
    14	// void __race_unused_func(void);
    15	import "C"
    16	

View as plain text