diff options
author | Joel Sing <joel@sing.id.au> | 2021-01-28 23:06:56 +1100 |
---|---|---|
committer | Joel Sing <joel@sing.id.au> | 2021-04-30 18:34:40 +0000 |
commit | c3b2b0415666a1b2a3e00583a2f192ad2001f93e (patch) | |
tree | 510aabb28fe52f27158d6ae565c96cb1b0af570b /src/runtime/os_openbsd_syscall1.go | |
parent | 4893eee9dc307a234bff1aa441acf849111e1beb (diff) | |
download | go-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/os_openbsd_syscall1.go')
-rw-r--r-- | src/runtime/os_openbsd_syscall1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/os_openbsd_syscall1.go b/src/runtime/os_openbsd_syscall1.go index 0f3d5f0b73..ecae67aa2f 100644 --- a/src/runtime/os_openbsd_syscall1.go +++ b/src/runtime/os_openbsd_syscall1.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 && !arm64 -// +build openbsd,!amd64,!arm64 +//go:build openbsd && !386 && !amd64 && !arm64 +// +build openbsd,!386,!amd64,!arm64 package runtime |