Package adams.core

Interface ThreadLimiter

    • Method Detail

      • setNumThreads

        void setNumThreads​(int value)
        Sets the number of threads to use.
        Parameters:
        value - the number of threads: -1 = # of CPUs/cores
      • getNumThreads

        int getNumThreads()
        Returns the number of threads to use.
        Returns:
        the number of threads: -1 = # of CPUs/cores