diff options
author | Joel Sing <joel@sing.id.au> | 2021-01-26 17:52:19 +1100 |
---|---|---|
committer | Joel Sing <joel@sing.id.au> | 2021-01-27 12:01:46 +0000 |
commit | 6c8fbfbdcfa48ca29926097b20767fe83409b3ed (patch) | |
tree | 66d041d521a8687e5881c166b60895e97d881e26 /src/runtime/sys_openbsd1.go | |
parent | 5cdf0da1bfc74ad1017a488044a865850f7c3c8e (diff) | |
download | go-6c8fbfbdcfa48ca29926097b20767fe83409b3ed.tar.gz go-6c8fbfbdcfa48ca29926097b20767fe83409b3ed.zip |
runtime: convert openbsd/arm64 locking to libc
Switch openbsd/arm64 to locking via libc, rather than performing direct
system calls.
Update #36435
Change-Id: I2f30432c4bc232224cf87dca750665b8c40c7b72
Reviewed-on: https://go-review.googlesource.com/c/go/+/286813
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/runtime/sys_openbsd1.go')
-rw-r--r-- | src/runtime/sys_openbsd1.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sys_openbsd1.go b/src/runtime/sys_openbsd1.go index a201a16c53..e2886218db 100644 --- a/src/runtime/sys_openbsd1.go +++ b/src/runtime/sys_openbsd1.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build openbsd,amd64 +// +build openbsd,amd64 openbsd,arm64 package runtime |