Module wait

Source
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 is true or the timeout is reached. If the timeout is None it will wait an infinite time. The condition is checked when the file has changed.