thr.stop? â true or false
Instance Public methods
Returns true if thr is dead or sleeping.
a = Thread.new { Thread.stop }
b = Thread.current
a.stop? #=> true
b.stop? #=> false
Returns true if thr is dead or sleeping.
a = Thread.new { Thread.stop }
b = Thread.current
a.stop? #=> true
b.stop? #=> false
Please login to continue.