Sha256: 1ed04c57a205de97f425aa11393551381ad83ef977ff7cc2f48aed7867c77833
Contents?: true
Size: 318 Bytes
Versions: 16
Compression:
Stored size: 318 Bytes
Contents
module Pitchfork # fallback for non-Linux and Linux <4.5 systems w/o EPOLLEXCLUSIVE class SelectWaiter # :nodoc: def get_readers(ready, readers, timeout_msec) # :nodoc: timeout_sec = timeout_msec / 1_000.0 ret = IO.select(readers, nil, nil, timeout_sec) and ready.replace(ret[0]) end end end
Version data entries
16 entries across 16 versions & 1 rubygems