t1 = Thread.new { loop { sleep 1 } }t2 = Thread.new { loop { sleep 1 } }t2.priority = 3 # Set t2 at priority 3p1 = t1.priority # 0p2 = t2.priority # 3