aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_plan9.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2018-04-23 07:30:32 -0700
committerKeith Randall <khr@golang.org>2018-04-30 02:41:03 +0000
commitb7f1777a709e575cb6aa03c25a976d06d36cb6a6 (patch)
tree4620a0bfb1fdc25cca0d09f148c6b964eb7b0643 /src/runtime/os_plan9.go
parent743fd9171fe82045a2f25e6910d919322010c59a (diff)
downloadgo-b7f1777a709e575cb6aa03c25a976d06d36cb6a6.tar.gz
go-b7f1777a709e575cb6aa03c25a976d06d36cb6a6.zip
runtime,cmd/ld: on darwin, create theads using libc
Replace thread creation with calls to the pthread library in libc. Update #17490 Change-Id: I1e19965c45255deb849b059231252fc6a7861d6c Reviewed-on: https://go-review.googlesource.com/108679 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/os_plan9.go')
-rw-r--r--src/runtime/os_plan9.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/os_plan9.go b/src/runtime/os_plan9.go
index 38f0cf5a2b..7d557eb943 100644
--- a/src/runtime/os_plan9.go
+++ b/src/runtime/os_plan9.go
@@ -408,7 +408,7 @@ func exit(e int32) {
// May run with m.p==nil, so write barriers are not allowed.
//go:nowritebarrier
-func newosproc(mp *m, stk unsafe.Pointer) {
+func newosproc(mp *m) {
if false {
print("newosproc mp=", mp, " ostk=", &mp, "\n")
}