# File rexml/pullparser.rb, line 58 def next Thread.pass while @thread.status == "run" value = @value @value = nil @thread.wakeup if @thread.alive? value end