]> Cypherpunks repositories - gostls13.git/commit
runtime,cmd/ld: on darwin, create theads using libc
authorKeith Randall <khr@golang.org>
Mon, 23 Apr 2018 14:30:32 +0000 (07:30 -0700)
committerKeith Randall <khr@golang.org>
Mon, 30 Apr 2018 02:41:03 +0000 (02:41 +0000)
commitb7f1777a709e575cb6aa03c25a976d06d36cb6a6
tree4620a0bfb1fdc25cca0d09f148c6b964eb7b0643
parent743fd9171fe82045a2f25e6910d919322010c59a
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>
26 files changed:
src/cmd/link/internal/amd64/asm.go
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/x86/asm.go
src/cmd/vet/all/whitelist/darwin_386.txt
src/cmd/vet/all/whitelist/darwin_amd64.txt
src/runtime/defs_darwin.go
src/runtime/defs_darwin_386.go
src/runtime/defs_darwin_amd64.go
src/runtime/defs_darwin_arm.go
src/runtime/defs_darwin_arm64.go
src/runtime/os3_solaris.go
src/runtime/os_darwin.go
src/runtime/os_darwin_raw.go [new file with mode: 0644]
src/runtime/os_dragonfly.go
src/runtime/os_freebsd.go
src/runtime/os_linux.go
src/runtime/os_nacl.go
src/runtime/os_netbsd.go
src/runtime/os_openbsd.go
src/runtime/os_plan9.go
src/runtime/os_windows.go
src/runtime/proc.go
src/runtime/sys_darwin.go [new file with mode: 0644]
src/runtime/sys_darwin_386.s
src/runtime/sys_darwin_amd64.s