]> Cypherpunks repositories - gostls13.git/commit
runtime: move doAllThreadsSyscall to os_linux.go
authorMichael Pratt <mpratt@google.com>
Mon, 7 Feb 2022 22:02:57 +0000 (17:02 -0500)
committerMichael Pratt <mpratt@google.com>
Tue, 15 Feb 2022 15:40:09 +0000 (15:40 +0000)
commit7a132d6f4e319b307f185c73a8492bfa706fe678
tree6ddfef4c25817b98290c831d2e77aa68ff6bd571
parent76bd8ea9e133293d2a8253f01f66c1ca9add64e6
runtime: move doAllThreadsSyscall to os_linux.go

syscall_runtime_doAllThreadsSyscall is only used on Linux. In
preparation of a follow-up CL that will modify the function to use other
Linux-only functions, move it to os_linux.go with no changes.

For #50113.

Change-Id: I348b6130038603aa0a917be1f1debbca5a5a073f
Reviewed-on: https://go-review.googlesource.com/c/go/+/383996
Trust: Michael Pratt <mpratt@google.com>
Reviewed-by: Andrew G. Morgan <agm@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/os_linux.go
src/runtime/proc.go