projects
/
fleet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8db92c4
)
make InterpreterProcess thread a daemon thread
author
Adam Megacz
<adam@megacz.com>
Sat, 22 Aug 2009 21:32:17 +0000
(14:32 -0700)
committer
Adam Megacz
<adam@megacz.com>
Sat, 22 Aug 2009 21:32:17 +0000
(14:32 -0700)
src/edu/berkeley/fleet/interpreter/Interpreter.java
patch
|
blob
|
history
diff --git
a/src/edu/berkeley/fleet/interpreter/Interpreter.java
b/src/edu/berkeley/fleet/interpreter/Interpreter.java
index
c43ad40
..
53868ff
100644
(file)
--- a/
src/edu/berkeley/fleet/interpreter/Interpreter.java
+++ b/
src/edu/berkeley/fleet/interpreter/Interpreter.java
@@
-162,7
+162,9
@@
public class Interpreter extends FleetTwoFleet {
public FleetProcess run(final Instruction[] instructions) {
InterpreterProcess ip = initialize(instructions);
public FleetProcess run(final Instruction[] instructions) {
InterpreterProcess ip = initialize(instructions);
- new Thread(ip).start();
+ Thread ipt = new Thread(ip);
+ ipt.setDaemon(true);
+ ipt.start();
return ip;
}
return ip;
}