diff options
author | Joel Sing <joel@sing.id.au> | 2020-08-26 03:23:42 +1000 |
---|---|---|
committer | Joel Sing <joel@sing.id.au> | 2021-04-30 18:34:10 +0000 |
commit | 4893eee9dc307a234bff1aa441acf849111e1beb (patch) | |
tree | 29331e4d823f6fe5abc981671aafd591cd9044a1 /src/runtime/sys_openbsd.go | |
parent | d9bfda81249f25959090b1493ac8e261dd4542f4 (diff) | |
download | go-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/sys_openbsd.go')
-rw-r--r-- | src/runtime/sys_openbsd.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/sys_openbsd.go b/src/runtime/sys_openbsd.go index 362fa777ef..f6146c2e1d 100644 --- a/src/runtime/sys_openbsd.go +++ b/src/runtime/sys_openbsd.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 |