diff options
author | Thibaut Ackermann <thibaut@ackermann.dev> | 2019-10-30 21:55:27 +0100 |
---|---|---|
committer | Thibaut Ackermann <thibaut@ackermann.dev> | 2019-11-21 08:36:53 +0100 |
commit | 18c20381b094d7d8273d1a961052c22493c6b21c (patch) | |
tree | 45d85c77d0e616e221f380ad2125a68b0e878165 /test/test.rs | |
parent | 3c7a23b52d238bd502392883a55c5b792af3a05e (diff) | |
download | nix-18c20381b094d7d8273d1a961052c22493c6b21c.zip |
Implement sched::sched_getaffinity()
sched_getaffinity(2) get a process's CPU affinity mask
Diffstat (limited to 'test/test.rs')
-rw-r--r-- | test/test.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.rs b/test/test.rs index 24260500..4b13fa44 100644 --- a/test/test.rs +++ b/test/test.rs @@ -119,6 +119,9 @@ mod test_nix_path; mod test_poll; mod test_pty; #[cfg(any(target_os = "android", + target_os = "linux"))] +mod test_sched; +#[cfg(any(target_os = "android", target_os = "freebsd", target_os = "ios", target_os = "linux", |