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

synchronized void scala::actors::FJTaskRunnerGroup::signalNewTask (  )  [inline, protected]

Start or wake up any threads waiting for work

Definition at line 659 of file FJTaskRunnerGroup.java.

References COLLECT_STATS, entries, nstarted, and threads.

Referenced by execute(), executeTask(), and invoke().

                                              {
    if (COLLECT_STATS) ++entries;
    if (nstarted < threads.length) 
       threads[nstarted++].start();
    else
      notify();
  }


Generated by  Doxygen 1.6.0   Back to index