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.

Author paravoid
Recipients FFY00, christian.heimes, paravoid
Date 2021-04-09.16:33:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617986033.09.0.164804240463.issue40485@roundup.psfhosted.org>
In-reply-to
Content
I missed that there is now also an os.eventfd_{write,read}(), so in the above
    os.write(self._event_fd, self._ONE)
can become
    os.eventfd_write(self._event_fd, 1)

and:
    os.read(self._event_fd, 8)
can become:
    os.eventfd_read(self._event_fd)

(the _ONE declaration will then be unnecessary and can be removed)
History
Date User Action Args
2021-04-09 16:33:53paravoidsetrecipients: + paravoid, christian.heimes, FFY00
2021-04-09 16:33:53paravoidsetmessageid: <1617986033.09.0.164804240463.issue40485@roundup.psfhosted.org>
2021-04-09 16:33:53paravoidlinkissue40485 messages
2021-04-09 16:33:53paravoidcreate