Message319206
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? |
|
Date |
User |
Action |
Args |
2018-06-10 11:20:46 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, pitrou, benjamin.peterson, stutzbach, njs, martin.panter, YoSTEALTH, xgdomingo |
2018-06-10 11:20:46 | giampaolo.rodola | set | messageid: <1528629646.06.0.592728768989.issue32561@psf.upfronthosting.co.za> |
2018-06-10 11:20:46 | giampaolo.rodola | link | issue32561 messages |
2018-06-10 11:20:45 | giampaolo.rodola | create | |
|