NNG Protocol: nni_posix_pollq_create(nni_posix_pollq *pq) Initialization
1. Basic Concepts
epoll is an efficient I/O event notification mechanism provided by the Linux kernel. It is used to monitor multiple file descriptors and get notified immediately when I/O events occur on them. epoll is more efficient than traditional select and poll, especially suitable for handling large numbers of concurrent connections.
An ...
Posted on Sun, 25 Oct 2026 16:08:16 +0000 by fibonacci
Analyzing eventfd System Call Implementation with select
eventfd(2) Combined with seelect(2) Source Code Analysis
The code examples are from Linux kernel 4.17
eventfd(2) - Creates a file descriptor for event notification.
Usage
Source Code Analysis
References
#include <sys/eventfd.h>
int eventfd(unsigned int initval, int flags);
int eventfd2(unsigned int initval, int flags);
Parameters
- \ ...
Posted on Sat, 01 Aug 2026 16:33:13 +0000 by Fredric