Function: SB-SYS:WAIT-UNTIL-FD-USABLE

package type github

Wait until FD is usable for DIRECTION. DIRECTION should be either :INPUT or :OUTPUT. TIMEOUT, if supplied, is the number of seconds to wait before giving up. Returns true once the FD is usable, NIL return indicates timeout.

If SERVE-EVENTS is true (the default), events on other FDs are served while waiting.

Lambda list

(sb-impl::fd sb-impl::direction &optional sb-ext:timeout sb-impl::serve-events)