We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0a7264 commit 026dd74Copy full SHA for 026dd74
lib_eio_posix/sched.ml
@@ -166,6 +166,8 @@ let ready t _index fd revents =
166
2. If POLLIN is set, wake the readers
167
3. If any of POLLHUP, POLLERR, or POLLNVAL is set, wake both readers & writers.
168
On macOS, poll() returns POLLNVAL for fds it can't poll on, such as /dev/null.
169
+ This results in us blocking on block devices, which isn't a problem for /dev/null
170
+ But we may want to revisit this.
171
172
Move any readers/writers into pending
173
*)
0 commit comments