[#41278] [BUG:1.9] BINARY should not be ASCII-compatible — Yugui <yugui@...>

Yuguiです。

15 messages 2010/05/11

[#41407] [Bug #3339] win32ole test failure — Usaku NAKAMURA <redmine@...>

Bug #3339: win32ole test failure

20 messages 2010/05/25
[#41411] Re: [Bug #3339] win32ole test failure — Masaki Suketa <masaki.suketa@...> 2010/05/25

助田です。

[#41412] Re: [Bug #3339] win32ole test failure — "U.Nakamura" <usa@...> 2010/05/25

こんにちは、なかむら(う)です。

[ruby-dev:41403] Re: test/rinda でのスレッド

From: Masatoshi SEKI <m_seki@...>
Date: 2010-05-24 11:42:53 UTC
List: ruby-dev #41403
咳といいます。

On 2010/05/24, at 9:01, Masaya TARUI wrote:

> 樽家です。
> 
> (testの)Bugではないような気がするしFeatureかと言われると悩ましいので、そのままMLに投稿します。
> test_rindaでtestcase分のthreadが生成されてそのまま残るのですが、精神衛生的に良くないのとデバックの時に邪魔なので消せるようにできませんか?>咳さん
> 
> #つまり、バグがどこかで起きた時、まずThreadのバグかどうかの切り分けからしないといけない。
> #Rindaって停止のメソッドが無いんですね。
> 
> 
> Index: test_rinda.rb
> ===================================================================
> --- test_rinda.rb       (リビジョン 27982)
> +++ test_rinda.rb       (作業コピー)
> @@ -519,6 +519,10 @@
>     ThreadGroup.new.add(Thread.current)
>     @ts = Rinda::TupleSpace.new(1)
>   end
> +  def teardown
> +    # implementation-dependent
> +    keeper = @ts.instance_eval{@keeper.kill if @keeper}
> +  end
> end


気持ちはわかります。ずっと気になってました。

こういうteardown書いても良いのかな。
どうせ実装依存だし、まいっか。

しばらく待って反対意見が無かったらそんな感じで修正します。




In This Thread

Prev Next