public static class SimtThreadPool.SimtThreadFactory extends Object implements ThreadFactory
Modifier and Type | Field and Description |
---|---|
protected static AtomicInteger |
THREAD_NUMBER
Variable to keep track of threads launched by the HJ runtime.
|
Constructor and Description |
---|
SimtThreadFactory(SimtThreadPool workSharingThreadPool)
No-args constructor.
|
protected static final AtomicInteger THREAD_NUMBER
public SimtThreadFactory(SimtThreadPool workSharingThreadPool)
public final SimtThread newThread(Runnable runnable)
newThread
in interface ThreadFactory
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.