Skip to content

Commit a8c6ec6

Browse files
committed
Given some threads names
1 parent d0ec10c commit a8c6ec6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/redomar/game/Game.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class Game extends Canvas implements Runnable {
6868
private Music music = new Music();
6969
private Time time = new Time();
7070
private Font font = new Font();
71-
private Thread musicThread = new Thread(music);
71+
private Thread musicThread = new Thread(music, "MUSIC");
7272
private String nowPlaying;
7373
private boolean notActive = true;
7474
private boolean noAudioDevice = false;
@@ -144,7 +144,7 @@ public static void npcKill(){
144144

145145
public synchronized void start() {
146146
running = true;
147-
new Thread(this).start();
147+
new Thread(this, "GAME").start();
148148

149149
if (Jdata_Host == 0) {
150150
socketServer = new GameServer(this);

0 commit comments

Comments
 (0)