Message376130
The eventfd system calls can allow us to implement some Linux-specific high performance version of some event notifier abstractions in the standard library.
eventfd() creates an "eventfd object" that can be used as an event wait/notify mechanism by user-space applications. The object contains an
unsigned 64-bit integer counter that is maintained by the kernel. This acts as a file descriptor that can be used by the usual suspects (read/write/poll/close...).
The advantage here is that the kernel maintains the counter and if used in conjunction with poll/epoll, it allows for a high-performance and
scallabe event notification system. |
|
Date |
User |
Action |
Args |
2020-08-30 20:15:17 | pablogsal | set | recipients:
+ pablogsal |
2020-08-30 20:15:17 | pablogsal | set | messageid: <1598818517.47.0.408259765239.issue41668@roundup.psfhosted.org> |
2020-08-30 20:15:17 | pablogsal | link | issue41668 messages |
2020-08-30 20:15:17 | pablogsal | create | |
|