aboutsummaryrefslogtreecommitdiff
path: root/src/sync
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 /src/sync
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>
Diffstat (limited to 'src/sync')
-rw-r--r--src/sync/runtime2.go4
-rw-r--r--src/sync/runtime2_lockrank.go4
2 files changed, 8 insertions, 0 deletions
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