Skip to content

Instantly share code, notes, and snippets.

@kdrag0n
Last active July 29, 2023 04:46
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdrag0n/dc138a08de0da5f59e87f8b6b04530d6 to your computer and use it in GitHub Desktop.
Save kdrag0n/dc138a08de0da5f59e87f8b6b04530d6 to your computer and use it in GitHub Desktop.
Fast, polling-free approach to kill and wait for all processes to exit. Rust + Tokio, pidfd + epoll + timer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment