On Fri Sep 6 16:00:15 2024 +0000, Paul Gofman wrote:
EAGAIN only related to nonblocking reads and file read is not interruptable. You might also look at other usages of read on the Unix side, we certainly don't make a loop for each file read() and don't have to.
@gofman but I read with `O_RDONLY | O_NONBLOCK`. If it would be better, I can remove O_NONBLOCK and just return an error.