diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-03 04:34:43 +0000 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-03 04:34:43 +0000 |
commit | 112438b1e954c1266a76f8c53fd084f9019ebc99 (patch) | |
tree | 1ea0471db8799b17c07e219638f32b8371cb0514 /test/sys/test_socket.rs | |
parent | dc5f8eeb685b04bd2f78319abac6677917c1bd46 (diff) | |
parent | b9a21abb51af1823c2510268d19a5a8ca40d9bdf (diff) | |
download | nix-112438b1e954c1266a76f8c53fd084f9019ebc99.zip |
Merge #1090
1090: Expose sched_yield on non-linux-like hosts r=asomers a=kubkon
Currently, `sched` module is compiled only for linux-like hosts. However, the recently added syscall `sched_yield` is universal to all *nixes. This PR pulls all linux-like functionality into a private `sched_linux_like` module which is enabled only for android and linux hosts, while `sched_yield` and `sched` modules are now compiled for all *nixes, thus, correctly exposing `sched_yield` to other non-linux hosts.
Co-authored-by: Jakub Konka <jakub.konka@golem.network>
Diffstat (limited to 'test/sys/test_socket.rs')
0 files changed, 0 insertions, 0 deletions