unicorn.git  about / heads / tags
Rack HTTP server for Unix and fast clients
blob d11ea574a0da060e57a9b4a89a3480a10fd2d27a 273 bytes (raw)
$ git show HEAD:lib/unicorn/select_waiter.rb	# shows this blob on the CLI

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

git clone https://yhbt.net/unicorn.git