diff options
| author | Elias Naur <elias.naur@gmail.com> | 2018-05-01 01:21:02 +0200 |
|---|---|---|
| committer | Elias Naur <elias.naur@gmail.com> | 2018-05-01 00:37:36 +0000 |
| commit | c2fdb42b1632b054d382b05ebfb6cb903dbb9531 (patch) | |
| tree | 0c166c4b0a09c848e4e0b50fac8d537d66c834e0 /src/runtime/select.go | |
| parent | 21656d09b710799806aee182856b2a02068609bd (diff) | |
| download | go-c2fdb42b1632b054d382b05ebfb6cb903dbb9531.tar.xz | |
runtime: implement darwin raise with pthread_self and pthread_kill
Convert raise from raw syscalls to using the system pthread library.
As a bonus, raise will now target the current thread instead of the
process.
Updates #17490
Change-Id: I2e44f2000bf870e99a5b4dc5ff5e0799fba91bde
Reviewed-on: https://go-review.googlesource.com/110475
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/select.go')
0 files changed, 0 insertions, 0 deletions
