class CopyTunerClient::Poller
def start
def start @mutex.synchronize do if @thread.nil? @logger.info 'start poller thread' @thread = Thread.new { poll } or logger.error("Couldn't start poller thread") end end end
def start @mutex.synchronize do if @thread.nil? @logger.info 'start poller thread' @thread = Thread.new { poll } or logger.error("Couldn't start poller thread") end end end