]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: use pthread_attr_get_np on Illumos
authorCherry Mui <cherryyz@google.com>
Mon, 3 Apr 2023 19:17:40 +0000 (15:17 -0400)
committerCherry Mui <cherryyz@google.com>
Tue, 4 Apr 2023 03:37:07 +0000 (03:37 +0000)
commitad87a124be4879f40a01f622dd03b40d3e6dd559
treee9f4115bfdc11831c7aae4adf202e235280a4ea2
parentca26c9835109f8f3e72bbc069a6361bdf24e271d
runtime/cgo: use pthread_attr_get_np on Illumos

While Solaris supports pthread_getattr_np, Illumos doesn't...
Instead, Illumos supports pthread_attr_get_np.

Updates #59294.

Change-Id: I2c66dad79b8bf3d510352875bf21d04415f23eeb
Reviewed-on: https://go-review.googlesource.com/c/go/+/481795
TryBot-Bypass: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/cgo/gcc_stack_unix.c