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