Update of /cvsroot/freenet/freenet/src/freenet/thread
In directory sc8-pr-cvs1:/tmp/cvs-serv8931
Modified Files:
QThreadFactory.java
Log Message:
In class CountLock, write this.notifyAll() and this.wait() instead of
countLock.notifyAll() and countLock.wait(). Doesn't really make any
difference since there is only one instance of CountLock.
Index: QThreadFactory.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/thread/QThreadFactory.java,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- QThreadFactory.java 28 Sep 2003 10:07:19 -0000 1.36
+++ QThreadFactory.java 28 Sep 2003 10:20:42 -0000 1.37
@@ -359,13 +359,13 @@
( available < active * MINIMUM_AVAILABLE_RATIO) ||
( ( available > (3 * MINIMUM_AVAILABLE_ABS)) &&
( available > active * MAXIMUM_AVAILABLE_RATIO))) {
- countLock.notifyAll();
+ this.notifyAll();
}
}
synchronized void waitForNotify(int maxDelayMillis) {
try {
- countLock.wait(maxDelayMillis);
+ this.wait(maxDelayMillis);
} catch ( InterruptedException ie ) {}
}
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs