method

run

v1_8_6_287 - Show latest stable - Class: Thread
run()
public

Wakes up thr, making it eligible for scheduling. If not in a critical section, then invokes the scheduler.

   a = Thread.new { puts "a"; Thread.stop; puts "c" }
   Thread.pass
   puts "Got here"
   a.run
   a.join

produces:

   a
   Got here
   c