On Monday 28 April 2008 17:59, nextgens at freenetproject.org wrote:
> Author: nextgens
> Date: 2008-04-28 16:59:25 +0000 (Mon, 28 Apr 2008)
> New Revision: 19596
>
> Modified:
> trunk/freenet/src/freenet/node/KeyTracker.java
> Log:
> ditto
>
> Modified: trunk/freenet/src/freenet/node/KeyTracker.java
> ===================================================================
> --- trunk/freenet/src/freenet/node/KeyTracker.java 2008-04-28 16:57:21 UTC
(rev 19595)
> +++ trunk/freenet/src/freenet/node/KeyTracker.java 2008-04-28 16:59:25 UTC
(rev 19596)
> @@ -728,7 +728,7 @@
> return acks;
> }
>
> - public void requeueForgot(int[] forgotPackets, int start, int length) {
> + public synchronized void requeueForgot(int[] forgotPackets, int start,
> int
length) {
Why?
> synchronized(forgottenQueue) { // It doesn't do anything else
> does it?
REDFLAG
> for(int i=start;i<start+length;i++) {
> queueForgotten(i, false);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20080430/bd8caa76/attachment.pgp>