lib/0mq/poll_interruptible.rb
# Permanently kill the Poll object
# This should be run once, when the Poll object is no longer needed.
# This should only be accessed when there is no poll thread running.
# Use #kill instead when there is a poll loop thread running.
Permanently kill the Poll object
This should be run once, when the Poll object is no longer needed.
This should only be accessed when there is no poll thread running.
Use #kill instead when there is a poll loop thread running.
Permanently kill the Poll object This should be run once when the Poll object is no longer needed . This should only be accessed when there is no poll thread running . Use #kill instead when there is a poll loop thread running .
def close
      return nil if @dead
      @int_sock_rep.close
      @int_sock_req.close
      @int_sock_pull.close
      @int_sock_push.close
      @dead = true
    end
def close return nil if @dead @int_sock_rep . close @int_sock_req . close @int_sock_pull . close @int_sock_push . close @dead = true end
Permanently kill the Poll object
This should be run once, when the Poll object is no longer needed.
Permanently kill the Poll object This should be run once when the Poll object is no longer needed .