aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_openbsd1.go
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2021-01-28 23:06:56 +1100
committerJoel Sing <joel@sing.id.au>2021-04-30 18:34:40 +0000
commitc3b2b0415666a1b2a3e00583a2f192ad2001f93e (patch)
tree510aabb28fe52f27158d6ae565c96cb1b0af570b /src/runtime/sys_openbsd1.go
parent4893eee9dc307a234bff1aa441acf849111e1beb (diff)
downloadgo-c3b2b0415666a1b2a3e00583a2f192ad2001f93e.tar.gz
go-c3b2b0415666a1b2a3e00583a2f192ad2001f93e.zip
runtime: switch openbsd/386 locking to libc
Switch openbsd/386 to locking via libc, rather than performing direct system calls. Update #36435 Change-Id: I8198171e21f9acf28846ad723ea9ff48f7c8a69d Reviewed-on: https://go-review.googlesource.com/c/go/+/287652 Trust: Joel Sing <joel@sing.id.au> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/sys_openbsd1.go')
-rw-r--r--src/runtime/sys_openbsd1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/sys_openbsd1.go b/src/runtime/sys_openbsd1.go
index 43e0058985..b007b6d3f5 100644
--- a/src/runtime/sys_openbsd1.go
+++ b/src/runtime/sys_openbsd1.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build (openbsd && amd64) || (openbsd && arm64)
-// +build openbsd,amd64 openbsd,arm64
+//go:build (openbsd && 386) || (openbsd && amd64) || (openbsd && arm64)
+// +build openbsd,386 openbsd,amd64 openbsd,arm64
package runtime