diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-24 20:08:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 20:08:46 +0000 |
commit | b1ba07447315df4cd7b414410e793b17e6c722a7 (patch) | |
tree | ca502b7e7b760e241f2daab16ccb28c9a5d61d7d /src/ifaddrs.rs | |
parent | 4b6b14a0c2fabb0cdedf415aa0eece2752adc47e (diff) | |
parent | f3bd6ed8116b89cbe6dfb3c942048dae09375685 (diff) | |
download | nix-b1ba07447315df4cd7b414410e793b17e6c722a7.zip |
Merge #1261
1261: Adding an implementation for timerfd. r=asomers a=vdagonneau-anssi
Hello,
I have encountered a situation where I needed to use timerfd in addition to other fd with nix implementation of epoll.
Here is a basic implementation of this feature, I also added some documentation and tests.
Note: currently testing works by pausing for 1-3 seconds. Obviously it is pretty bad if we want tests to run quickly but that was my best idea at the time. Feel free to suggest any other way.
Thank you!
Co-authored-by: Vincent Dagonneau <vincent.dagonneau@ssi.gouv.fr>
Diffstat (limited to 'src/ifaddrs.rs')
0 files changed, 0 insertions, 0 deletions