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);
|
startThreads(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
while (isRunning())
|
loop: while (isRunning())
|
||||||
{
|
{
|
||||||
// Job loop
|
// Job loop
|
||||||
while (job != null && isRunning())
|
while (job != null && isRunning())
|
||||||
{
|
{
|
||||||
runJob(job);
|
runJob(job);
|
||||||
|
if (Thread.interrupted())
|
||||||
|
break loop;
|
||||||
job = _jobs.poll();
|
job = _jobs.poll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue