commit | 90192cd36471c7dfb44b4ecd6a8ccf7595d26e9d | [log] [tgz] |
---|---|---|
author | Andrew G. Morgan <[email protected]> | Fri Dec 11 23:27:50 2020 -0800 |
committer | Andrew G. Morgan <[email protected]> | Fri Dec 11 23:48:29 2020 -0800 |
tree | 527da7c7d23a0ab06fd9cfeac874351ee18badff | |
parent | e7e0e1b9e2cf3378d329174ed5b0c716b0539c72 [diff] |
Refactor the "psx" vs "cap" package cgo-or-not complexity to "psx". I've decided to put the decision to call syscall.AllThreadsSyscall*() into "psx" instead of the "cap" package. This should make client use of "psx" more straightforward and the code will 'just compile' if the user builds with CGO_ENABLED=1 or CGO_ENABLED=0. It also makes the "psx" package useful for other applications besides the "cap" package. Signed-off-by: Andrew G. Morgan <[email protected]>