From: nobu.nokada@... Date: 2002-05-09T20:55:02+09:00 Subject: Re: Thread#join doesn't accept a timeout? Hi, At Thu, 9 May 2002 19:23:47 +0900, Jean-Hugues ROBERT wrote: > > >|Ideally, Thread#join would look something like this: > > >| > > >| def join(timeout = nil) > > >| ... > > >| end > > >| > > >|timeout = nil means wait forever, timeout = 0 means > > >|don't wait, and timeout >0 means wait that many > > >|milliseconds. > > I guess timeout should be in seconds, as in sleep(), shouldn't it ? Agreed. And also in IO.select. # I'd posted a patch implemented it to ruby-core, but failed. -- Nobu Nakada