/** * Create new thread around runnable task. * * @param r Runnable task to execute in the thread. * @return New thread around runnable task. * @see GridTestThread */ @Override public Thread newThread(final Runnable r) { return newThread(GridTestUtils.makeCallable(r, null)); }
threads.add(threadFactory.newThread(call));
thrFactory.newThread(() -> { try {