From: gotoken@... (GOTO Kentaro) Date: 2000-02-27T17:32:31+09:00 Subject: [ruby-talk:01595] Re: Race condition in Singleton Hi, In message "[ruby-talk:01594] Re: Race condition in Singleton" on 00/02/27, Minero Aoki writes: >If instance() takes arguments, only first arguments are used and >rest are simply discarded. It is not user's aim, isn't it? I thinks so. By the way, if one would write a generator which returns a unique object for an argument, she can use Flyweightfactory in [ruby-talk:01530]. And, I also agree the first point at Dave's [ruby-talk:01592]; `unless @__instance__' should be included in the critical session. -- gotoken