Not needed anymore.
This commit is contained in:
parent
ce24a82442
commit
62f4462c86
@ -1,36 +0,0 @@
|
|||||||
package SeSim;
|
|
||||||
|
|
||||||
public class TraderRun extends Thread {
|
|
||||||
|
|
||||||
public String tname = "";
|
|
||||||
public Exchange ex;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
while (true) {
|
|
||||||
try {
|
|
||||||
sleep(100);
|
|
||||||
} catch (InterruptedException e) {
|
|
||||||
System.out.println("Interrupted");
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
System.out.printf("%s locking\n", tname);
|
|
||||||
ex.Lock();
|
|
||||||
System.out.printf("%s locked\n", tname);
|
|
||||||
|
|
||||||
try{
|
|
||||||
sleep(1000);
|
|
||||||
}
|
|
||||||
catch(InterruptedException e) {
|
|
||||||
System.out.println("Interrupted");
|
|
||||||
}
|
|
||||||
|
|
||||||
System.out.printf("%s unlocking\n", tname);
|
|
||||||
// ex.Free();
|
|
||||||
System.out.printf("%s unlocked\n", tname);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user