From: Jean-Hugues ROBERT Date: 2002-05-09T19:23:47+09:00 Subject: Re: Thread#join doesn't accept a timeout? At 16:39 09/05/2002 +0900, you wrote: >In article <1020923593.140092.18089.nullmailer@picachu.netlab.jp>, >Yukihiro Matsumoto wrote: > >Hi, > > > >In message "Thread#join doesn't accept a timeout?" > > on 02/05/09, Dossy writes: > > > >|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 ? Yours, Jean-Hugues ------------------------------------------------------------------------- Web: http://hdl.handle.net/1030.37/1.1 Phone: +33 (0) 4 92 27 74 17