aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_openbsd_libc.go
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2020-08-26 03:23:42 +1000
committerJoel Sing <joel@sing.id.au>2021-04-30 18:34:10 +0000
commit4893eee9dc307a234bff1aa441acf849111e1beb (patch)
tree29331e4d823f6fe5abc981671aafd591cd9044a1 /src/runtime/os_openbsd_libc.go
parentd9bfda81249f25959090b1493ac8e261dd4542f4 (diff)
downloadgo-4893eee9dc307a234bff1aa441acf849111e1beb.tar.gz
go-4893eee9dc307a234bff1aa441acf849111e1beb.zip
runtime: switch openbsd/386 to pthreads
This switches openbsd/386 to thread creation via pthreads, rather than doing direct system calls. Update #36435 Change-Id: I000a815fc0edd0272c3285954f3f007229bc60a0 Reviewed-on: https://go-review.googlesource.com/c/go/+/250577 Trust: Joel Sing <joel@sing.id.au> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/os_openbsd_libc.go')
-rw-r--r--src/runtime/os_openbsd_libc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/os_openbsd_libc.go b/src/runtime/os_openbsd_libc.go
index 3f43ade558..cff5a092d7 100644
--- a/src/runtime/os_openbsd_libc.go
+++ b/src/runtime/os_openbsd_libc.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