There are unlocked reads and writes of runningCount in several places. This looks like a race condition to me. Remember that ++ and -- are not guaranteed to be atomic.
See public void run() and reclaim(). http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/freenet/Freenet/thread/ThreadPool.java?rev=1.18&content-type=text/x-java If the list concurs I will fix it. --gj -- Freesites (0.3) freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage// (0.4) freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage// _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
