るりまサーチ

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

別のキーワード

  1. _builtin status
  2. cgi http_status
  3. openssl status
  4. getoptlong status_yet
  5. getoptlong status_started

ライブラリ

クラス

検索結果

Thread#alive? -> bool (24225.0)

スレッドが「生きている」時、true を返します。

...」時、true を返します。

例:
thr = Thread.new { }
thr.join # => #<Thread:0x401b3fb0 dead>
Thread.current.alive? # => true
thr.alive? # => false

Thread#status が真を返すなら、このメソッドも真です。

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