james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hontvari Jozsef" <hontva...@solware.com>
Subject InaccurateTimeoutWatchdog
Date Wed, 24 Mar 2004 11:25:52 GMT
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


Mime
View raw message