MCPcopy Index your code
hub / github.com/clojure/clojure / newThread

Method newThread

src/jvm/clojure/lang/Agent.java:60–64  ·  view source on GitHub ↗
(Runnable runnable)

Source from the content-addressed store, hash-verified

58private static ThreadFactory createThreadFactory(final String format, final AtomicLong threadPoolCounter) {
59 return new ThreadFactory() {
60 public Thread newThread(Runnable runnable) {
61 Thread thread = new Thread(runnable);
62 thread.setName(String.format(format, threadPoolCounter.getAndIncrement()));
63 return thread;
64 }
65 };
66}
67

Callers

nothing calls this directly

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected