[#40917] テスト対象を 2 つ指定すると落ちる — "KISHIMOTO, Makoto" <ksmakoto@...4u.or.jp>
きしもとです
[#40951] [Bug #3123] uninitialized constant Object::C (NameError) — Kazuhiro NISHIYAMA <redmine@...>
Bug #3123: uninitialized constant Object::C (NameError)
[#40959] [Bug #3136] reuse of singleton method definition causes SEGV — Yusuke Endoh <redmine@...>
Bug #3136: reuse of singleton method definition causes SEGV
[#40961] [Bug #3137] complex.rb changes exceptions of Math — Yusuke Endoh <redmine@...>
Bug #3137: complex.rb changes exceptions of Math
けいじゅ@いしつかです.
まつもと ゆきひろです
けいじゅ@いしつかです.
まつもと ゆきひろです
けいじゅ@いしつかです.
まつもと ゆきひろです
[#40973] [BUG: trunk]arm-linux向けクロスコンパイル時のエラー — Satoshi Shiba <shiba@...>
芝と申します.
[#41038] Windows と DL が使用条件の libffi — Aaron Patterson <aaron.patterson@...>
こんにちは!アーロンです。
こんにちは、なかむら(う)です。
成瀬です。
2010/4/21 NARUSE, Yui <naruse@airemix.jp>:
2010/4/26 Aaron Patterson <aaron.patterson@gmail.com>:
2010/4/26 Yugui <yugui@yugui.jp>:
Sorry for replying so late.
こんにちは、なかむら(う)です。
2010/5/5 U.Nakamura <usa@garbagecollect.jp>:
[#41054] [Bug #3198] O_APPEND for redirect fd is ignored on windows — _ wanabe <redmine@...>
Bug #3198: O_APPEND for redirect fd is ignored on windows
[#41061] why did #rationalize removed? — Yusuke ENDOH <mame@...>
ふなばさん
[#41067] [Feature #3203] LazySweepGC patch — Narihiro Nakamura <redmine@...>
Feature #3203: LazySweepGC patch
遠藤です。
成瀬です。
nariです。
nariです。
2010年5月28日5:15 Narihiro Nakamura <authornari@gmail.com>:
2010年5月29日18:28 Tanaka Akira <akr@fsij.org>:
[#41092] Re: [ruby-core:29863] [Bug #3216] #join in thwait.rb only waits for first thread — keiju@... (keiju ISHITSUKA)
けいじゅ@いしつかです.
なかだです。
[#41100] Re: [ruby-cvs:34762] Ruby:r27549 (trunk): * test/test_open3.rb (test_commandline): use dump instead of — Tanaka Akira <akr@...>
2010/4/29 <nobu@ruby-lang.org>:
[#41104] Rails3 M17N — Yukihiro Matsumoto <matz@...>
まつもと ゆきひろです
xibbarこと藤岡です。
Yukihiro Matsumoto さんは書きました:
まつもと ゆきひろです
小川と言います。
[ruby-dev:40977] [Bug #812] Failure: test_priority (TestThread) on mswin32
チケット #812 が更新されました。 (by Yusuke Endoh) 担当者 Koichi SasadaからYusuke Endohに変更 Target version 1.9.2にセット ruby -v -にセット 遠藤です。 2008年12月3日12:46 U.Nakamura <usa@garbagecollect.jp>: > 表題の通りですが、priorityの低いスレッドの選択率を下げる機構 > はpthreadでもwin32でも同じなのに、win32だとまともに機能してい > ないように見えるのはなぜでしょうか? この機構は、native_thread_yield() を呼んだときに極力他のスレッドに コンテキストスイッチしてくれないと働きません。 thread_win32.c では native_thread_yield() は Sleep(0) となっていて、 Sleep(0) は MSDN によると > 中断時間として 0ms を指定してこの関数を呼び出すと、現在のスレッドは > 自らに割り当てられているタイムスライスの残りの部分を放棄します。 らしいので、これが本当なら動きそうなものですが、どうなんでしょうね。 いずれにしても、このテストはプラットフォームとタイミングに強く依存 するのであまり適切でなかったかもしれません。すでになかださんによって コメントアウトされているので、解決していると思います。 Thread#priority, #priority= の rdoc は、高優先度のスレッドがいる限り 低優先度のスレッドが全く実行されないかのように読めるので、これを修正 しつつ、プラットフォームによっては無視されるということを書いて、この チケットはクローズします。 diff --git a/thread.c b/thread.c index 10d6047..40a3483 100644 --- a/thread.c +++ b/thread.c @@ -2142,8 +2142,11 @@ rb_thread_keys(VALUE self) * * Returns the priority of <i>thr</i>. Default is inherited from the * current thread which creating the new thread, or zero for the - * initial main thread; higher-priority threads will run before - * lower-priority threads. + * initial main thread; higher-priority thread will run more frequently + * than lower-priority threads (but lower-priority threads can also run). + * + * This is just hint for Ruby thread scheduler. It may be ignored on some + * platform. * * Thread.current.priority #=> 0 */ @@ -2162,7 +2165,11 @@ rb_thread_priority(VALUE thread) * thr.priority= integer => thr * * Sets the priority of <i>thr</i> to <i>integer</i>. Higher-priority threads - * will run before lower-priority threads. + * will run more frequently than lower-priority threads (but lower-priority + * threads can also run). + * + * This is just hint for Ruby thread scheduler. It may be ignored on some + * platform. * * count1 = count2 = 0 * a = Thread.new do -- Yusuke Endoh <mame@tsg.ne.jp> ---------------------------------------- http://redmine.ruby-lang.org/issues/show/812 ---------------------------------------- http://redmine.ruby-lang.org