Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io-wakeup: Use file descriptors when calling select.
Rather than ports, since select only works for file ports in Guile, but fibers works for any port that exposes port-read-wait-fd or port-write-wait-fd. * fibers/io-wakeup.scm (readable?, writable?): Take a fd rather than a port. (try-ready): Take port-ready-fd, and use this when calling ready? if port is not a file port. (wait-until-port-readable-operation): Pass port-read-wait-fd to try-ready. (wait-until-port-writable-operation): Pass port-write-wait-fd to try-ready.
- Loading branch information