aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-07-24 16:50:47 -0700
committerIan Lance Taylor <iant@golang.org>2020-07-25 03:26:17 +0000
commit9591515f515a76f627bc1cfc6d71f98f43526faf (patch)
treebdfba129920d3b99cef42763996b65f37e0707bf
parent074f2d800f2c7b741a080081cfcc5295b375b23d (diff)
downloadgo-9591515f515a76f627bc1cfc6d71f98f43526faf.tar.gz
go-9591515f515a76f627bc1cfc6d71f98f43526faf.zip
runtime, sync: add copyright headers to new files
For #38029 Change-Id: I71de2b66c1de617d32c46d4f2c1866f9ff1756ec Reviewed-on: https://go-review.googlesource.com/c/go/+/244631 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dan Scales <danscales@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r--src/runtime/lockrank_off.go4
-rw-r--r--src/runtime/lockrank_on.go4
-rw-r--r--src/sync/runtime2.go4
-rw-r--r--src/sync/runtime2_lockrank.go4
4 files changed, 16 insertions, 0 deletions
diff --git a/src/runtime/lockrank_off.go b/src/runtime/lockrank_off.go
index 891589c0f2..425ca8dd93 100644
--- a/src/runtime/lockrank_off.go
+++ b/src/runtime/lockrank_off.go
@@ -1,3 +1,7 @@
+// Copyright 2020 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.
+
// +build !goexperiment.staticlockranking
package runtime
diff --git a/src/runtime/lockrank_on.go b/src/runtime/lockrank_on.go
index cf4151ff46..fbc5ff58b7 100644
--- a/src/runtime/lockrank_on.go
+++ b/src/runtime/lockrank_on.go
@@ -1,3 +1,7 @@
+// Copyright 2020 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.
+
// +build goexperiment.staticlockranking
package runtime
diff --git a/src/sync/runtime2.go b/src/sync/runtime2.go
index 931edad9f1..f10c4e8e0e 100644
--- a/src/sync/runtime2.go
+++ b/src/sync/runtime2.go
@@ -1,3 +1,7 @@
+// Copyright 2020 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.
+
// +build !goexperiment.staticlockranking
package sync
diff --git a/src/sync/runtime2_lockrank.go b/src/sync/runtime2_lockrank.go
index 5a68e901fa..aaa1c27626 100644
--- a/src/sync/runtime2_lockrank.go
+++ b/src/sync/runtime2_lockrank.go
@@ -1,3 +1,7 @@
+// Copyright 2020 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.
+
// +build goexperiment.staticlockranking
package sync