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 giampaolo.rodola
Recipients YoSTEALTH, benjamin.peterson, giampaolo.rodola, martin.panter, njs, pitrou, stutzbach, xgdomingo
Date 2018-06-10.11:20:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528629646.06.0.592728768989.issue32561@psf.upfronthosting.co.za>
In-reply-to
Content
os.preadv() and os.pwritev() are great but to my understanding one essential piece is still missing in order to effectively do non-blocking file IO and avoid using a thread pool: being notified when the file fd is readable/writable. select() and epoll() on Linux are not able to do that (according to them regular fds are always "ready"). As such one would repeatedly get EAGAIN and hog CPU resources. Am I missing something?
History
Date User Action Args
2018-06-10 11:20:46giampaolo.rodolasetrecipients: + giampaolo.rodola, pitrou, benjamin.peterson, stutzbach, njs, martin.panter, YoSTEALTH, xgdomingo
2018-06-10 11:20:46giampaolo.rodolasetmessageid: <1528629646.06.0.592728768989.issue32561@psf.upfronthosting.co.za>
2018-06-10 11:20:46giampaolo.rodolalinkissue32561 messages
2018-06-10 11:20:45giampaolo.rodolacreate