*) next try todo a bugfix

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1475 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 6da97bd2e4
commit d9fbad71b9

@ -858,8 +858,12 @@ public final class plasmaCrawlStacker {
// return thread back into pool // return thread back into pool
plasmaCrawlStacker.this.theWorkerPool.returnObject(this); plasmaCrawlStacker.this.theWorkerPool.returnObject(this);
// We are waiting for a new task now. // We are waiting for a new task now.
synchronized (this) { this.wait(); } synchronized (this) {
if (!this.stopped && !this.destroyed && !this.isInterrupted()) {
this.wait();
}
}
} else { } else {
try { try {
// executing the new task // executing the new task

Loading…
Cancel
Save