Community
Participate
Working Groups
threadIds = new int[0];
}
Arrays.sort(threadIds);
if (threadIds.length > 0) {
currentThreadId = threadIds[0];
// -thread-list-ids doesn't provide the current thread id so we
// set currentThreadId to a dumb value. This has the effect of falling
// back to the thread id provided by the stopped event. See EventManager::processSuspendedEvent
currentThreadId = 0;
void parseThreadIds(MITuple tuple) {
} else {
ids = info.getThreadIds();
names = info.getThreadNames();
currentThreadId = info.getCurrentThread();
if (info.getCurrentThread() != 0) {
if (ids != null && ids.length > 0) {
cthreads = new Thread[ids.length];