るりまサーチ (Ruby 3.3)

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

別のキーワード

  1. drb thread
  2. thread join
  3. thread kill
  4. thread exit
  5. etc sc_thread_cputime

ライブラリ

検索結果

Thread#stop? -> bool (81433.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...