frysk.testbed
Class FunitThreadsOffspring
java.lang.Object
frysk.testbed.Offspring
frysk.testbed.SynchronizedOffspring
frysk.testbed.FunitThreadsOffspring
public class FunitThreadsOffspring
- extends SynchronizedOffspring
Create a program that contains a large number of threads.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunitThreadsOffspring
public FunitThreadsOffspring(int threads)
- Create a program with a large number of threads, each thread
joining its predicessor, cloning creating a successor, and then
exiting (so its successor can join it). At any time there is
somewhere between 1(main)+THREADS and 1+2*THREADS.
FunitThreadsOffspring
public FunitThreadsOffspring(int threads,
FunitThreadsOffspring.Type type)
funitThreadsCommand
private static String[] funitThreadsCommand(int threads,
FunitThreadsOffspring.Type type)
- Construct the argument list for funit-threads with THREADS
thread-count and TYPE.