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

Version Path
pitchfork-0.12.0 lib/pitchfork/select_waiter.rb
pitchfork-0.11.1 lib/pitchfork/select_waiter.rb
pitchfork-0.11.0 lib/pitchfork/select_waiter.rb
pitchfork-0.10.0 lib/pitchfork/select_waiter.rb
pitchfork-0.9.0 lib/pitchfork/select_waiter.rb
pitchfork-0.8.0 lib/pitchfork/select_waiter.rb
pitchfork-0.7.0 lib/pitchfork/select_waiter.rb
pitchfork-0.6.0 lib/pitchfork/select_waiter.rb
pitchfork-0.5.0 lib/pitchfork/select_waiter.rb
pitchfork-0.4.1 lib/pitchfork/select_waiter.rb
pitchfork-0.4.0 lib/pitchfork/select_waiter.rb
pitchfork-0.3.0 lib/pitchfork/select_waiter.rb
pitchfork-0.2.0 lib/pitchfork/select_waiter.rb
pitchfork-0.1.2 lib/pitchfork/select_waiter.rb
pitchfork-0.1.1 lib/pitchfork/select_waiter.rb
pitchfork-0.1.0 lib/pitchfork/select_waiter.rb