stop? -> bool[permalink][rdoc][edit]-
スレッドが終了(dead)あるいは停止(stop)している時、true を返します。
例a = Thread.new { Thread.stop } b = Thread.current p a.stop? # => true p b.stop? # => false[SEE_ALSO] Thread#alive?, Thread#status
stop? -> bool[permalink][rdoc][edit]スレッドが終了(dead)あるいは停止(stop)している時、true を返します。
例a = Thread.new { Thread.stop }
b = Thread.current
p a.stop? # => true
p b.stop? # => false
[SEE_ALSO] Thread#alive?, Thread#status