Message390644
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) |
|
Date |
User |
Action |
Args |
2021-04-09 16:33:53 | paravoid | set | recipients:
+ paravoid, christian.heimes, FFY00 |
2021-04-09 16:33:53 | paravoid | set | messageid: <1617986033.09.0.164804240463.issue40485@roundup.psfhosted.org> |
2021-04-09 16:33:53 | paravoid | link | issue40485 messages |
2021-04-09 16:33:53 | paravoid | create | |
|