Merge remote-tracking branch 'origin/master' into jetty-9.1
Conflicts: tests/test-webapps/test-jetty-webapp/src/main/webapp/remote.html
This commit is contained in:
commit
f951b8f979
|
@ -528,12 +528,14 @@ public class QueuedThreadPool extends AbstractLifeCycle implements SizedThreadPo
|
|||
startThreads(1);
|
||||
}
|
||||
|
||||
while (isRunning())
|
||||
loop: while (isRunning())
|
||||
{
|
||||
// Job loop
|
||||
while (job != null && isRunning())
|
||||
{
|
||||
runJob(job);
|
||||
if (Thread.interrupted())
|
||||
break loop;
|
||||
job = _jobs.poll();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue