Lines Matching defs:threads
25 * @summary SynchronizerDeadlock creates threads that are deadlocked
50 // make them daemon threads so that the test will exit
58 // Wait until all threads have started
74 // sleep a little so that all threads are blocked before notified.
88 // sleep a little while to wait until threads are blocked.
136 void checkResult(long[] threads) {
137 if (threads.length != EXPECTED_THREADS) {
143 for (int i = 0; i < threads.length; i++) {
145 if (dThreads[j].getId() == threads[i]) {
157 for (int j = 0; j < threads.length; j++) {
158 System.out.print(threads[j] + " ");
163 for (int j = 0; j < threads.length; j++) {