io_select (Net::SSH::Compat)

        # File lib/net/ssh/ruby_compat.rb, line 26
    26:       def self.io_select(*params)
    27:         # It should be safe to wrap calls in a mutex when the timeout is 0
    28:         # (that is, the call is not supposed to block).
    29:         # We leave blocking calls unprotected to avoid causing deadlocks.
    30:         # This should still catch the main case for Capistrano users.
    31:         if params[3] == 0
    32:           SELECT_MUTEX.synchronize do
    33:             IO.select(*params)
    34:           end
    35:         else
    36:           IO.select(*params)
    37:         end
    38:       end