Searched refs:nthreads (Results 1 – 5 of 5) sorted by relevance
72 int nthreads; field in ThreadGroup357 result = nthreads; in activeCount()443 int nt = nthreads; in enumerate()649 for (int i = 0 ; i < nthreads ; i++) { in interrupt()705 for (int i = 0 ; i < nthreads ; i++) { in stopOrSuspend()753 for (int i = 0 ; i < nthreads ; i++) { in resume()788 if (destroyed || (nthreads > 0)) { in destroy()801 nthreads = 0; in destroy()856 if (nthreads == 0) { in remove()859 if (daemon && (nthreads == 0) && in remove()[all …]
138 final int nthreads = 4; in testAddAndSumMT() local141 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1); in testAddAndSumMT()142 for (int i = 0; i < nthreads; ++i) in testAddAndSumMT()146 double total = (long)nthreads * incs; in testAddAndSumMT()
161 final int nthreads = 4; in testAddAndSumMT() local164 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1); in testAddAndSumMT()165 for (int i = 0; i < nthreads; ++i) in testAddAndSumMT()169 long total = (long)nthreads * incs; in testAddAndSumMT()
126 final int nthreads = 4; in testAccumulateAndGetMT() local129 Phaser phaser = new Phaser(nthreads + 1); in testAccumulateAndGetMT()130 for (int i = 0; i < nthreads; ++i) in testAccumulateAndGetMT()