Add function for changing thread's nice value

Linux only.
This commit is contained in:
Ivan Mironov
2021-10-27 06:07:37 +05:00
committed by Trent Nelson
parent 7200c5106e
commit 18b1baa3c1
4 changed files with 146 additions and 0 deletions

View File

@@ -25,6 +25,11 @@ solana-sdk = { path = "../sdk", version = "=1.9.0" }
solana-vote-program = { path = "../programs/vote", version = "=1.9.0" }
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "=1.9.0" }
[target."cfg(target_os = \"linux\")".dependencies]
caps = "0.5.3"
libc = "0.2.105"
nix = "0.23.0"
[lib]
name = "solana_perf"