This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Expose eventfd for high-performance event notifier in Linux
Type: Stage: resolved
Components: IO, Library (Lib) Versions: Python 3.10
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, pablogsal
Priority: normal Keywords: patch

Created on 2020-08-30 20:15 by pablogsal, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 22022 closed pablogsal, 2020-08-30 20:48
Messages (3)
msg376130 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2020-08-30 20:15
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.
msg376144 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2020-08-31 09:57
I think this is a duplicate of bpo-41001.
msg376148 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2020-08-31 11:41
Indeed it is. CLosing in favour of bpo-41001
History
Date User Action Args
2022-04-11 14:59:35adminsetgithub: 85834
2020-08-31 11:41:44pablogsalsetstatus: open -> closed
resolution: duplicate
messages: + msg376148

stage: patch review -> resolved
2020-08-31 09:57:27ZackerySpytzsetnosy: + ZackerySpytz
messages: + msg376144
2020-08-30 20:48:04pablogsalsetkeywords: + patch
stage: patch review
pull_requests: + pull_request21122
2020-08-30 20:15:17pablogsalcreate