summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
43364d6)
The stop job can not be in the queue without stop() having been called.
while (!shouldStop()) {
try {
WebOfTrustUpdateJob updateJob = updateJobs.take();
while (!shouldStop()) {
try {
WebOfTrustUpdateJob updateJob = updateJobs.take();
- if (shouldStop() || (updateJob == stopJob)) {
break;
}
logger.log(Level.FINE, "Running Trust Update Job: " + updateJob);
break;
}
logger.log(Level.FINE, "Running Trust Update Job: " + updateJob);