Lines Matching defs:threads
70 private ThreadReference[] threads = null;
73 * The numbering of threads is relative to the current set of threads,
74 * and may be affected by the creation and termination of new threads.
80 private ThreadReference[] threads() throws NoSessionException {
81 if (threads == null) {
87 threads = tlist.toArray(new ThreadReference[tlist.size()]);
89 return threads;
101 ThreadReference[] threads = threads();
103 for (ThreadReference thread2 : threads) {
121 threads = null;
127 threads = null;
132 threads = null;
209 // Command: threads
243 List<ThreadReference> tlist = tg.threads();
460 // Suspend all threads in the current thread group.
461 //### Issue: help message says default is all threads.
465 // TODO - don't suspend debugger threads
468 env.notice("All (non-system) threads suspended.");
484 // Suspend all threads in the current thread group.
485 //### Issue: help message says default is all threads.
489 // TODO - don't suspend debugger threads
492 env.notice("All threads resumed.");
1275 out.println("threads [threadgroup] -- list threads");
1277 out.println("suspend [thread id(s)] -- suspend threads (default: all)");
1278 out.println("resume [thread id(s)] -- resume threads (default: all)");
1360 } else if (cmd.equals("threads")) {