Lines Matching refs:th
125 th = Thread.new{
129 th_backtrace = th.backtrace
130 th_locations = th.backtrace_locations
134 assert_equal(th_backtrace, th.backtrace(0))
136 th.backtrace_locations(0).map{|e| e.to_s})
138 assert_equal(n, th.backtrace(0, n).size)
139 assert_equal(n, th.backtrace_locations(0, n).size)
142 assert_equal(n, th.backtrace(0, n + 1).size)
143 assert_equal(n, th.backtrace_locations(0, n + 1).size)
152 th = Thread.new{
156 bt = th.backtrace(0,2)
157 locs = th.backtrace_locations(0..1).map { |loc|