[issue41668] Expose eventfd for high-performance event notifier in Linux

2020-08-31 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

Indeed it is. CLosing in favour of bpo-41001

--
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41668] Expose eventfd for high-performance event notifier in Linux

2020-08-31 Thread Zackery Spytz


Zackery Spytz  added the comment:

I think this is a duplicate of bpo-41001.

--
nosy: +ZackerySpytz

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41668] Expose eventfd for high-performance event notifier in Linux

2020-08-30 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
keywords: +patch
pull_requests: +21122
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/22022

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41668] Expose eventfd for high-performance event notifier in Linux

2020-08-30 Thread Pablo Galindo Salgado


New submission from Pablo Galindo Salgado :

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.

--
components: IO, Library (Lib)
messages: 376130
nosy: pablogsal
priority: normal
severity: normal
status: open
title: Expose eventfd for high-performance event notifier in Linux
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com