るりまサーチ

最速Rubyリファレンスマニュアル検索!
588件ヒット [1-100件を表示] (0.073秒)
トップページ > クエリ:d[x] > クエリ:priority[x]

別のキーワード

  1. bigdecimal/util to_d
  2. float to_d
  3. matrix d
  4. openssl d
  5. kernel $-d

検索結果

<< 1 2 3 ... > >>

Thread#priority -> Integer (21136.0)

スレッドの優先度を返します。この値が大きいほど優先度が高くなります。 メインスレッドのデフォルト値は 0 です。新しく生成されたスレッドは親スレッドの priority を引き継ぎます。

...
priority
を引き継ぎます。

@param val スレッドの優先度を指定します。プラットフォームに依存します。

//emlist[例][ruby]{
Thread.current.priority # => 0

count1 = count2 = 0
a = Thread.new do
loop { count1 += 1 }
end
a.priority = -1

b = Thread.new d...
...o
loop { count2 += 1 }
end
b.priority = -2
count1 = count2 = 0 # reset
sleep 1 # => 1
count1 # => 13809431
count2 # => 11571921
//}...

Resolv::DNS::Resource::IN::SRV#priority -> Integer (21113.0)

ホストの優先順位を返します。

...先順位を返します。

クライアントは利用可能なホストの中で最も priority
小さい数値のホストを利用しなければなりません。

priority
が同じならば Resolv::DNS::Resource::IN::SRV#weight
で定義されるようにホストを選ぶべきです。...

static VALUE rb_thread_priority(VALUE thread) (12200.0)

static VALUE rb_thread_priority_set(VALUE thread, VALUE prio) (12200.0)

Thread#priority=(val) (9136.0)

スレッドの優先度を返します。この値が大きいほど優先度が高くなります。 メインスレッドのデフォルト値は 0 です。新しく生成されたスレッドは親スレッドの priority を引き継ぎます。

...
priority
を引き継ぎます。

@param val スレッドの優先度を指定します。プラットフォームに依存します。

//emlist[例][ruby]{
Thread.current.priority # => 0

count1 = count2 = 0
a = Thread.new do
loop { count1 += 1 }
end
a.priority = -1

b = Thread.new d...
...o
loop { count2 += 1 }
end
b.priority = -2
count1 = count2 = 0 # reset
sleep 1 # => 1
count1 # => 13809431
count2 # => 11571921
//}...

絞り込み条件を変える

Etc::SC_PRIORITY_SCHEDULING -> Integer (6202.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

Etc::SC_THREAD_PRIORITY_SCHEDULING -> Integer (6202.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

Socket::Constants::SOPRI_BACKGROUND -> Integer (6116.0)

@todo Background socket priority

...@todo
Background socket priority...

Socket::SOPRI_BACKGROUND -> Integer (6116.0)

@todo Background socket priority

...@todo
Background socket priority...
<< 1 2 3 ... > >>