drop redundant IO#close_on_exec=false calls
[unicorn.git] / lib / unicorn / select_waiter.rb
blobcb84aab6e3e06a07fda5178ab1be267761f6b2f1
1 # fallback for non-Linux and Linux <4.5 systems w/o EPOLLEXCLUSIVE
2 class Unicorn::SelectWaiter # :nodoc:
3   def get_readers(ready, readers, timeout) # :nodoc:
4     ret = IO.select(readers, nil, nil, timeout) and ready.replace(ret[0])
5   end
6 end