summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-11-24 17:31:09 +0000
committerGitHub <noreply@github.com>2019-11-24 17:31:09 +0000
commitf3bf1df774a6cb89cf04dced385ec073908508b0 (patch)
tree45d85c77d0e616e221f380ad2125a68b0e878165 /LICENSE
parent3c7a23b52d238bd502392883a55c5b792af3a05e (diff)
parent18c20381b094d7d8273d1a961052c22493c6b21c (diff)
downloadnix-f3bf1df774a6cb89cf04dced385ec073908508b0.zip
Merge #1148
1148: Implement sched::sched_getaffinity() r=asomers a=thib-ack Hello, I found the function `sched::sched_setaffinity()` but I also needed to get the process affinity and I did not find the function `sched::sched_getaffinity()` So I added the function which maps [sched_getaffinity(2)](https://linux.die.net/man/2/sched_getaffinity) which "get a process's CPU affinity mask" to the sched.rs file. I hope the code match your guidelines (returned `Result<CpuSet>` instead of pointer parameter) If that's not the case, tell me, I will fix asap. I hope this will help ! Thanks, Thibaut Co-authored-by: Thibaut Ackermann <thibaut@ackermann.dev>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions