aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_aix.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2019-10-14 15:49:27 -0400
committerAustin Clements <austin@google.com>2019-10-26 02:52:30 +0000
commit42aab4b0af5e50071fa8901a038bdc6f1f42b2ed (patch)
treec2f38eaeefc0d3ae4164a6adb64c229879e3ebf4 /src/runtime/os_aix.go
parent8714e39497dba141ce7ed83c6a18c3c0def66e77 (diff)
downloadgo-42aab4b0af5e50071fa8901a038bdc6f1f42b2ed.tar.xz
runtime: M-targeted signals for libc-based OSes
For #10958, #24543. Change-Id: I82bee63b49e15bd5a53228eb85179814c80437ef Reviewed-on: https://go-review.googlesource.com/c/go/+/201403 Run-TryBot: Austin Clements <austin@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/os_aix.go')
-rw-r--r--src/runtime/os_aix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/os_aix.go b/src/runtime/os_aix.go
index 855ae6ff46..ff2588f42f 100644
--- a/src/runtime/os_aix.go
+++ b/src/runtime/os_aix.go
@@ -175,6 +175,7 @@ func miniterrno() {
func minit() {
miniterrno()
minitSignals()
+ getg().m.procid = uint64(pthread_self())
}
func unminit() {