Expand description
Utility functions for cpu efficient wait
commands.
Uses the libc::epoll_wait
that only works on linux systems.
Functionsยง
- wait
- Wait for until a condition
cond
istrue
or thetimeout
is reached. If thetimeout
isNone
it will wait an infinite time. The condition is checked when thefile
has changed.