aboutsummaryrefslogtreecommitdiff
path: root/src/Ivy.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ivy.java')
-rwxr-xr-xsrc/Ivy.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Ivy.java b/src/Ivy.java
index b727c2a..2a0a6d5 100755
--- a/src/Ivy.java
+++ b/src/Ivy.java
@@ -188,6 +188,8 @@ public class Ivy implements Runnable {
private boolean starting = false;
protected Object readyToSend = new Object();
private boolean doSendToSelf = false;
+
+ // FIXME should not be static ? (findbugs)
private static int serial = 0;
private int myserial = serial++;
private static long current = System.currentTimeMillis();
@@ -350,6 +352,7 @@ public class Ivy implements Runnable {
// readies the rendezvous : an IvyWatcher (thread) per domain bus
for (Domain dom: d) watchers.addElement(new IvyWatcher(this , dom.domainaddr , dom.port));
serverThread = new Thread(this);
+ serverThread.setName("Ivy TCP server Thread");
serverThread.start();
// sends the broadcasts and listen to incoming connexions
for (IvyWatcher iw: watchers) iw.doStart();