[freenet-cvs] r17924 - trunk/freenet/src/freenet/crypt

nextgens at freenetproject.org nextgens at freenetproject.org
Fri Feb 15 07:58:35 UTC 2008


Author: nextgens
Date: 2008-02-15 07:58:35 +0000 (Fri, 15 Feb 2008)
New Revision: 17924

Modified:
   trunk/freenet/src/freenet/crypt/DiffieHellman.java
Log:
Cleanup in DiffieHellman

Modified: trunk/freenet/src/freenet/crypt/DiffieHellman.java
===================================================================
--- trunk/freenet/src/freenet/crypt/DiffieHellman.java	2008-02-15 07:52:50 UTC (rev 17923)
+++ trunk/freenet/src/freenet/crypt/DiffieHellman.java	2008-02-15 07:58:35 UTC (rev 17924)
@@ -93,10 +93,6 @@
 		// If the buffer size is below the threshold then wake the precalc
 		// thread
 		if (precalcBuffer.size() < PRECALC_RESUME) {
-			if (precalcBuffer.isEmpty()) {
-				// If it is all empty, try to fill it up even faster
-				precalcThread.setPriority(Thread.MAX_PRIORITY);
-			}
 			synchronized (precalcerWaitObj) {
 				precalcerWaitObj.notify();
 			}




More information about the cvs mailing list