, November 22, 2005 4:28 PM
To: Jakarta Commons Developers List
Subject: Re: [collections] BlockingBuffer and TimeoutBuffer
I believe that 0 is what the JDK uses in Object.wait(long) for an
infinite wait. A negative number would also mean infinite.
Stephen
James Carman wrote:
> Stephen,
>
I believe that 0 is what the JDK uses in Object.wait(long) for an
infinite wait. A negative number would also mean infinite.
Stephen
James Carman wrote:
Stephen,
I don't know about using 0 to indicate that it's a wait forever situation.
A negative number would be better for that, wouldn't yo
Stephen,
I don't know about using 0 to indicate that it's a wait forever situation.
A negative number would be better for that, wouldn't you say? A 0 would
mean that you don't want to wait at all (of course, why would you use
BlockingBuffer if you're going to supply a 0).
James
-Original Me