test of emails
[IRC.git] / Robust / TransSim / ThreadInfo.java
index 92ba65da518624d1e049e7aee7e8f49b292bddab..8deff3f08ccd9a5a42ddb4f50e4a5d07a9807370 100644 (file)
@@ -6,6 +6,35 @@ public class ThreadInfo {
     this.fs=fs;
   }
   boolean stalled;
+  int oid;
+  int index;
+  int priority;
+  boolean aborted;
+
+  public void setObject(int oid) {
+    this.oid=oid;
+  }
+
+  public void setIndex(int index) {
+    this.index=index;
+  }
+
+  public int getObject() {
+    return oid;
+  }
+
+  public int getIndex() {
+    return index;
+  }
+
+  public void setObjIndex(ObjIndex oi) {
+    oid=oi.object;
+    index=oi.index;
+  }
+
+  public ObjIndex getObjIndex() {
+    return new ObjIndex(oid, index);
+  }
 
   public boolean isStalled() {
     return stalled;