method

stop?

v2_2_9 - Show latest stable - Class: Thread
stop?()
public

Returns true if thr is dead or sleeping.

a = Thread.new { Thread.stop }
b = Thread.current
a.stop?   #=> true
b.stop?   #=> false

See also #alive? and #status.