dev-libs/
libevent

Library to execute a function when a specific event occurs on a file descriptor

https://libevent.org/