wakeup -> self
停止状態(stop)のスレッドを実行可能状態(run)にします。
例 c = Thread.new { Thread.stop; puts "hey!" } sleep 0.1 while c.status!='sleep' c.wakeup c.join # => "hey!"
c = Thread.new { Thread.stop; puts "hey!" } sleep 0.1 while c.status!='sleep' c.wakeup c.join # => "hey!"
[SEE_ALSO] Thread#run, Thread.stop