[freenet-cvs] r17925 - trunk/freenet/src/freenet/crypt
nextgens at freenetproject.org
nextgens at freenetproject.org
Fri Feb 15 08:00:55 UTC 2008
Author: nextgens
Date: 2008-02-15 08:00:55 +0000 (Fri, 15 Feb 2008)
New Revision: 17925
Modified:
trunk/freenet/src/freenet/crypt/DiffieHellman.java
Log:
Same thing.
If we urgentely need something we will do it on thread. Pre-calculation should be done at the lowest priority level in any case.
Modified: trunk/freenet/src/freenet/crypt/DiffieHellman.java
===================================================================
--- trunk/freenet/src/freenet/crypt/DiffieHellman.java 2008-02-15 07:58:35 UTC (rev 17924)
+++ trunk/freenet/src/freenet/crypt/DiffieHellman.java 2008-02-15 08:00:55 UTC (rev 17925)
@@ -63,10 +63,6 @@
}
}
- // Reset the thread priority to normal because it may have been
- // set to MAX if the buffer was emptied.
- precalcThread.setPriority(Thread.NORM_PRIORITY);
-
synchronized (precalcerWaitObj) {
try {
// Do not set the thread priority here because the
More information about the cvs
mailing list