]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: use pthread_getattr_np on Android
authorCherry Mui <cherryyz@google.com>
Thu, 7 Nov 2024 02:13:44 +0000 (21:13 -0500)
committerCherry Mui <cherryyz@google.com>
Thu, 7 Nov 2024 19:31:01 +0000 (19:31 +0000)
commitbccd686f9dac534d50ad420f7cfad22c4f43e352
tree6904d587f2dbb2186734930e7faeee26e9f64135
parent411ba0ae8608a0829a185d83f122d83c8a51c754
runtime/cgo: use pthread_getattr_np on Android

It is defined in bionic libc since at least API level 3. Use it.

Updates #68285.

Change-Id: I215c2d61d5612e7c0298b2cb69875690f8fbea66
Reviewed-on: https://go-review.googlesource.com/c/go/+/626275
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/cgo/gcc_stack_unix.c