chickadee » async-io » thread-wait-for-reader!

thread-wait-for-reader! xprocedure

Suspends the current thread until the file descriptor belonging to reader x is ready to be read. Equivalent to:

(thread-wait-for-i/o! (reader-fd x))