るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.010秒)
トップページ > クラス:Thread[x] > クエリ:stop?[x] > バージョン:2.6.0[x]

別のキーワード

  1. drb stop_service
  2. objspace trace_object_allocations_stop
  3. thread stop?
  4. thread stop
  5. _builtin stop?

ライブラリ

検索結果

Thread#stop? -> bool (54343.0)

スレッドが終了(dead)あるいは停止(stop)している時、true を返します。

...スレッドが終了(dead)あるいは停止(stop)している時、true を返します。

//emlist[例][ruby]{
a = Thread.new { Thread.stop }
b = Thread.current
a.stop? # => true
b.stop? # => false
//}

@see Thread#alive?, Thread#status...