[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: [QUIZ] FasterGenerator (#66

Ross Bamford

2/14/2006 11:04:00 PM

On Wed, 2006-02-15 at 07:09 +0900, Dave Lee wrote:
> On 2/14/06, Ross Bamford <rossrt@roscopeco.co.uk> wrote:
> > Of course I can't rule out a buggy test but I've not noticed it on the
> > others. Let me know what you think after you take a look.
>
> I made a couple fixes, which eliminates the problem (of premature
> exit), only now I'm running into a very strange problem:
>
> NoMethodError: undefined method `stop' for #<Thread:0xb7f0ebe4 sleep>

Hmm. I think stop is a singleton method on Thread, so you'd have to do
Thread.stop rather than thr.stop ?

--
Ross Bamford - rosco@roscopeco.REMOVE.co.uk



1 Answer

Dave Lee

2/15/2006 2:45:00 AM

0

On 2/14/06, Ross Bamford <rossrt@roscopeco.co.uk> wrote:
> Hmm. I think stop is a singleton method on Thread, so you'd have to do
> Thread.stop rather than thr.stop ?

ah right, thanks.