1 # frozen_string_literal: false
2 # fallback for non-Linux and Linux <4.5 systems w/o EPOLLEXCLUSIVE
3 class Unicorn::SelectWaiter # :nodoc:
4 def get_readers(ready, readers, timeout) # :nodoc:
5 ret = IO.select(readers, nil, nil, timeout) and ready.replace(ret[0])