-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Description
Currently the implementation waitpid
is using spin waiting, which could lead to performance issues. It is possible to refactor it via pidfd_open
and epoll
to allow CPU to save battery.
This issue is used for being linked to any future Pull Requests.
procps/src/uu/pidwait/src/wait.rs
Line 28 in 1194b3f
sleep(Duration::from_millis(50)); |