You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Hontvari Jozsef <ho...@solware.com> on 2004/03/24 12:25:52 UTC

InaccurateTimeoutWatchdog

It seems to me that this line is not correct:

if (timeToSleep < 0) {

I think it should be "<=". Otherwise if timeToSleep is (accidentally) 0, the
following wait() will wait undefinitely, according to its specification.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: InaccurateTimeoutWatchdog

Posted by "Noel J. Bergman" <no...@devtech.com>.
Thanks.  I agree, and made the change.  Will show up in 2.2.0a17.

	--- Noel

-----Original Message-----
From: Hontvari Jozsef [mailto:hontvari3@solware.com]
Sent: Wednesday, March 24, 2004 6:26
To: James Developers List
Subject: InaccurateTimeoutWatchdog


It seems to me that this line is not correct:

if (timeToSleep < 0) {

I think it should be "<=". Otherwise if timeToSleep is (accidentally) 0, the
following wait() will wait undefinitely, according to its specification.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org