ITADN

[feature request] `waitpid` via `epoll()`

#399OpenFurryR 创建于 2025-04-22
F
FurryRcommented
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. https://github.com/uutils/procps/blob/1194b3f7603d7e216202b74dc845ec44997354ad/src/uu/pidwait/src/wait.rs#L28
0 条评论