るりまサーチ

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

別のキーワード

  1. drb thread
  2. tracer get_thread_no
  3. thread pending_interrupt?
  4. thread abort_on_exception
  5. etc sc_thread_threads_max

ライブラリ

検索結果

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