To all #Rust programmers on #Linux that want to use the kernel's new pidfd feature to asynchronously await on many child processes from the same thread -- reliably -- I've released the [pidfd] crate, which achieves precisely that.
Note, however, that Linux 5.3 is the minimum requirement to use this crate. Linux 5.4 is required to get the exit status from terminated processes (use the `waitid` feature).
Testing would be highly welcome!
[pidfd]: https://github.com/pop-os/pidfd
To all that are using , the GNOME Shell / Mutter optimization patches were pushed to the stable repositories last night.
After upgrading to the latest packages, you will need to reboot in order to see the improved performance.
A recap of all of the included patches will be in this week's, "This Week in Pop!"
System76 Engineer; Pop!_OS maintainer; Rust / Linux software developer