New submission from Christian Heimes <li...@cheimes.de>:

eventfd is a Linux syscall that returns a file descriptor for event/notify 
systems. I propse to add a simple eventfd(initval, flags) function that is a 
wrapper around glibc's eventfd abstraction layer. High level notify and 
semaphores can then be implemented in pure Python.

See https://man7.org/linux/man-pages/man2/eventfd.2.html for more details

See https://bugs.python.org/issue40485 for a use case.

----------
components: Extension Modules, Library (Lib)
messages: 371727
nosy: christian.heimes
priority: normal
severity: normal
status: open
title: Provide wrapper for eventfd
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41001>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to