Yeah, go ahead.

On Mon, Nov 12, 2001 at 03:06:33PM -0500, Gianni Johansson wrote:
> 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

-- 
gil merger scott orly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20011112/db3736ff/attachment.pgp>

Reply via email to