るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.057秒)
トップページ > ライブラリ:ビルトイン[x] > 種類:クラス[x] > バージョン:2.3.0[x] > クエリ:Thread::ConditionVariable[x]

別のキーワード

  1. drb thread
  2. thread pending_interrupt?
  3. thread join
  4. thread exit
  5. thread kill

検索結果

Thread::ConditionVariable (69010.0)

スレッドの同期機構の一つである状態変数を実現するクラスです。

...が空になった場合、
あるいは満タンになった場合に Condition Variable を使って wait しています。

require 'thread'

class
TinyQueue
def initialize(max=2)
@max = max
@full = ConditionVariable.new
@empty = ConditionVariable.new
@mutex = Mut...

ConditionVariable (58.0)

Alias of Thread::ConditionVariable

Alias of Thread::ConditionVariable