eventfd2
Eventfd2 is a Linux kernel facility that provides a file descriptor for event notification between processes or threads. It is a variant of the eventfd mechanism that allows creation-time specification of flags, enabling different modes of operation and behavior without requiring subsequent fcntl calls.
The object created by eventfd2 represents a 64-bit unsigned counter. It is initialized to a user-specified value
Eventfd2 accepts creation flags that can be combined from among EFD_SEMAPHORE, EFD_NONBLOCK, and EFD_CLOEXEC. EFD_NONBLOCK makes
The descriptor is pollable and compatible with epoll, select, and similar mechanisms, making it suitable for