# File lib/rev/loop.rb, line 15 15: def self.default 16: # Well awesome, variables stashed in Thread.current[] 17: # are only accessible in the context of the Fiber where 18: # they were stored. Soo... we need to make our own 19: # thread-local store if we want Fiber compatibility 20: # 21: # I think this should be sufficient... but it may need 22: # a mutex or something, got me. 23: @@default_loop[Thread.current] ||= Loop.new 24: end