MCPcopy Create free account
hub / github.com/cmu-db/benchbase / newThread

Method newThread

src/main/java/com/oltpbenchmark/util/ThreadUtil.java:132–137  ·  view source on GitHub ↗
(Runnable r)

Source from the content-addressed store, hash-verified

130 private static final ThreadFactory factory =
131 new ThreadFactory() {
132 @Override
133 public Thread newThread(Runnable r) {
134 Thread t = new Thread(r);
135 t.setDaemon(true);
136 return (t);
137 }
138 };
139
140 private static class LatchRunnable implements Runnable {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected