@@ -0,0 +1,518 @@
+package foam.nanos.pool;%0A%0Aimport foam.core.ContextAgent;%0Aimport foam.core.ContextAgentRunnable;%0Aimport foam.core.X;%0A%0Aimport java.util.LinkedList;%0Aimport java.util.Queue;%0A%0Apublic class StubThreadPool implements ThreadPool %7B%0A  Queue%3CRunnable%3E agents = new LinkedList%3C%3E();%0A%0A  @Override%0A  public void submit(X x, ContextAgent agent) %7B%0A    agents.add(new ContextAgentRunnable(x, agent, getClass().getSimpleName()));%0A  %7D%0A%0A  public void invokeAll() %7B%0A    while ( ! agents.isEmpty() ) %7B%0A      agents.poll().run();%0A    %7D%0A  %7D%0A%7D%0A

Implement StubThreadPool