Skip to content

Commit 7c3b731

Browse files
committed
Add thread names
1 parent d2625f2 commit 7c3b731

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/java/org/usb4java/javax/AbstractIrpQueue.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public void run()
7171
}
7272
});
7373
this.processor.setDaemon(true);
74+
this.processor.setName("usb4java IRP Queue Processor");
7475
this.processor.start();
7576
}
7677
}

src/main/java/org/usb4java/javax/DeviceManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ public void run()
359359
}
360360
});
361361
thread.setDaemon(true);
362+
thread.setName("usb4java Device Scanner");
362363
thread.start();
363364
}
364365

0 commit comments

Comments
 (0)