るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.046秒)

別のキーワード

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

クラス

検索結果

Thread#alive? -> bool (18128.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?...