るりまサーチ

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

別のキーワード

  1. drb current_server
  2. win32/registry hkey_current_user
  3. win32/registry hkey_current_config
  4. fiber current
  5. _builtin current

ライブラリ

検索結果

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