るりまサーチ

最速Rubyリファレンスマニュアル検索!
187件ヒット [1-100件を表示] (0.105秒)
トップページ > 種類:クラス[x] > クエリ:A[x] > クエリ:Alias[x]

別のキーワード

  1. _builtin to_a
  2. matrix to_a
  3. to_a
  4. dbm to_a
  5. argf.class to_a

検索結果

<< 1 2 > >>

Psych::Nodes::Alias (24039.0)

YAML の alias http://yaml.org/spec/1.1/#alias を表すクラス。

...YAML の alias http://yaml.org/spec/1.1/#alias を表すクラス。

a
nchor で別の YAML の要素を指します。

alias
は YAML の AST の葉のノードであり、子ノードを持ちません。...

RDoc::Alias (24017.0)

aliasされたメソッドを表現するクラスです。

...aliasされたメソッドを表現するクラスです。


ライブラリの内部で使用します。...

Psych::BadAlias (12017.0)

YAML の alias が不正である(本体が見つからない)というエラーを表す例外です。

...YAML の alias が不正である(本体が見つからない)というエラーを表す例外です。...

JSON::Ext::Generator::State (9017.0)

Alias of JSON::State

...Alias of JSON::State...

Thread::ConditionVariable (6055.0)

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

...です。

以下も ConditionVariable を理解するのに参考になります。

https://ruby-doc.com/docs/ProgrammingRuby/html/tut_threads.html#UF

=== Condition Variable とは

あるスレッド A が排他領域で動いていたとします。スレッド A は現在空いていない
...
...cv.signal
}
}

以下は 14445 で紹介されている例です。@q が空になった場合、
あるいは満タンになった場合に Condition Variable を使って wait しています。

require 'thread'

class
TinyQueue
def initialize(max=2)
@max = max
@...
...ait(@mutex) if count == @max
@q.push v
@empty.signal if count == 1
}
end

def deq
@mutex.synchronize{
@empty.wait(@mutex) if count == 0
v = @q.shift
@full.signal if count == (@max - 1)
v
}
end

alias
send enq
alias
...

絞り込み条件を変える

ConditionVariable (6017.0)

Alias of Thread::ConditionVariable

...Alias of Thread::ConditionVariable...

Gem::Cache (6017.0)

Alias of Gem::SourceIndex

...Alias of Gem::SourceIndex...

JSON::Ext::Parser (6017.0)

Alias of JSON::Parser

...Alias of JSON::Parser...

JSON::UnparserError (6017.0)

Alias of JSON::GeneratorError

...Alias of JSON::GeneratorError...

Net::APOPSession (6017.0)

Alias of Net::APOP

...Alias of Net::APOP...

絞り込み条件を変える

<< 1 2 > >>