]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: create C pthreads in detached state
authorIan Lance Taylor <iant@golang.org>
Tue, 13 Aug 2024 18:25:31 +0000 (11:25 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 13 Aug 2024 22:54:53 +0000 (22:54 +0000)
commit18fc547b21a5eb66e27bd1cd4e73a2b92609a0a9
treeb7c8a6425b99885828b7d638621fc0cef8a951d3
parent0b1494f5d24afe7725e724905173b910b83e24e7
runtime/cgo: create C pthreads in detached state

Rather than explicitly calling pthread_detach.

Fixes #68850

Change-Id: I7b4042283f9feb5383bffd40fae6db6d23217f97
Reviewed-on: https://go-review.googlesource.com/c/go/+/605257
Commit-Queue: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
13 files changed:
src/runtime/cgo/gcc_darwin_amd64.c
src/runtime/cgo/gcc_darwin_arm64.c
src/runtime/cgo/gcc_dragonfly_amd64.c
src/runtime/cgo/gcc_freebsd.c
src/runtime/cgo/gcc_freebsd_amd64.c
src/runtime/cgo/gcc_libinit.c
src/runtime/cgo/gcc_linux.c
src/runtime/cgo/gcc_linux_amd64.c
src/runtime/cgo/gcc_linux_arm64.c
src/runtime/cgo/gcc_linux_s390x.c
src/runtime/cgo/gcc_netbsd.c
src/runtime/cgo/gcc_openbsd.c
src/runtime/cgo/gcc_ppc64x.c