]> git.lizzy.rs Git - rust.git/commit
native: Remove timerfd implementation on linux
authorAlex Crichton <alex@alexcrichton.com>
Fri, 11 Apr 2014 04:44:02 +0000 (21:44 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 12 Apr 2014 20:42:07 +0000 (13:42 -0700)
commit28ba3a7bc3e1561528e3d441ad653ac849ee07ea
tree710c41a41afc476911128c249cab3eb2b955b5c0
parentab0d8472777d2359492dfdee1d21230fbf144f70
native: Remove timerfd implementation on linux

Rust advertises itself as being compatible with linux 2.6.18, but the timerfd
set of syscalls weren't added until linux 2.6.25. There is no real need for a
specialized timer implementation beyond being a "little more accurate", but the
select() implementation will suffice for now.

If it is later deemed that an accurate timerfd implementation is needed, it can
be added then through some method which will allow the standard distribution to
continue to be compatible with 2.6.18

Closes #13447
src/libnative/io/mod.rs
src/libnative/io/timer_other.rs [deleted file]
src/libnative/io/timer_timerfd.rs [deleted file]
src/libnative/io/timer_unix.rs [new file with mode: 0644]