Logo Search packages:      
Sourcecode: scala version File versions  Download package

scala::actors::FJTaskRunnerGroup::FJTaskRunnerGroup ( int  groupSize  )  [inline]

Create a FJTaskRunnerGroup with the indicated number of FJTaskRunner threads. Normally, the best size to use is the number of CPUs on the system.

The threads in a FJTaskRunnerGroup are created with their isDaemon status set, so do not normally need to be shut down manually upon program termination.

Definition at line 195 of file FJTaskRunnerGroup.java.

References initializeThreads(), initTime, and threads.

                                          { 
      //System.out.println("Creating FJTaskRunnerGroup of size "+groupSize);
    threads = new FJTaskRunner[groupSize];
    initializeThreads();
    initTime = System.currentTimeMillis();
  }


Generated by  Doxygen 1.6.0   Back to index