Lines Matching refs:th
897 th = Thread.new { IO.copy_stream(src, dst) }
898 flunk("timeout") unless th.join(10)
1226 th = Thread.new {f.close_write}
1228 th.join
2102 end.each {|th| th.join}
2556 th = Thread.new {r.sysread(100, buf)}
2557 Thread.pass until th.stop?
2561 Thread.pass while th.alive?
2562 th.join
2574 th = Thread.new {r.readpartial(100, buf)}
2575 Thread.pass until th.stop?
2579 Thread.pass while th.alive?
2580 th.join