We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b735923 commit 024630bCopy full SHA for 024630b
src/main/java/bwapi/BWClient.java
@@ -81,7 +81,10 @@ public void startGame(BWClientConfiguration configuration) {
81
82
// Use reduced priority to encourage Windows to give priority to StarCraft.exe/BWAPI.
83
// If BWAPI doesn't get priority, it may not detect completion of a frame on our end in timely fashion.
84
- Thread.currentThread().setPriority(4);
+ Thread.currentThread().setName("JBWAPI Client");
85
+ if (configuration.async) {
86
+ Thread.currentThread().setPriority(4);
87
+ }
88
89
if (client == null) {
90
client = new Client(configuration);
0 commit comments