Searched refs:nthreads (Results 1 – 10 of 10) sorted by relevance
71 int nthreads; field in ThreadGroup360 result = nthreads; in activeCount()446 int nt = nthreads; in enumerate()652 for (int i = 0 ; i < nthreads ; i++) { in interrupt()708 for (int i = 0 ; i < nthreads ; i++) { in stopOrSuspend()756 for (int i = 0 ; i < nthreads ; i++) { in resume()791 if (destroyed || (nthreads > 0)) { in destroy()804 nthreads = 0; in destroy()859 if (nthreads == 0) { in remove()862 if (daemon && (nthreads == 0) && in remove()[all …]
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 double total = (long)nthreads * incs; in testAddAndSumMT()
184 final int nthreads = 4; in testAddAndSumMT() local187 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1); in testAddAndSumMT()188 for (int i = 0; i < nthreads; ++i) in testAddAndSumMT()192 long total = (long)nthreads * incs; in testAddAndSumMT()
149 final int nthreads = 4; in testAccumulateAndGetMT() local152 Phaser phaser = new Phaser(nthreads + 1); in testAccumulateAndGetMT()153 for (int i = 0; i < nthreads; ++i) in testAccumulateAndGetMT()
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()
225 int nthreads; field in ThreadGroup