# File lib/pr_eventmachine.rb, line 329 329: def run_timers 330: @timers.each {|t| 331: if t.first <= @current_loop_time 332: @timers.delete t 333: EventMachine::event_callback "", TimerFired, t.last 334: else 335: break 336: end 337: } 338: #while @timers.length > 0 and @timers.first.first <= now 339: # t = @timers.shift 340: # EventMachine::event_callback "", TimerFired, t.last 341: #end 342: end