| 1 |
Desciptionscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/patches/`MonitorThread-daemon.patch`#Desciption.: Threads created in Java by RXTX are not marked as daemon. |
| 2 |
Bugscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/patches/`MonitorThread-daemon.patch`#Bug.: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674975 |
| 3 |
Authorscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/patches/`MonitorThread-daemon.patch`#Author.: Christopher Wellons <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 4 |
--- a/src/gnu/io/I2C.javascip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/gnu/io/I2C.java`: |
| 5 |
+++ b/src/gnu/io/I2C.javascip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/gnu/io/I2C.java`: |
| 6 |
@@ -468,7 +468,9 @@ |
| 7 |
private boolean BI=false; |
| 8 |
private boolean Data=false; |
| 9 |
private boolean Output=false; |
| 10 |
|
| 11 |
+ MonitorThread() { |
| 12 |
+ setDaemon(true); |
| 13 |
+ } |
| 14 |
public void run() { |
| 15 |
eventLoop(); |
| 16 |
} |
| 17 |
--- a/src/gnu/io/LPRPort.javascip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/gnu/io/LPRPort.java`: |
| 18 |
+++ b/src/gnu/io/LPRPort.javascip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/gnu/io/LPRPort.java`: |
| 19 |
@@ -366,7 +366,9 @@ |
| 20 |
{ |
| 21 |
private boolean monError = false; |
| 22 |
private boolean monBuffer = false; |
| 23 |
|
| 24 |
+ MonitorThread() { |
| 25 |
+ setDaemon(true); |
| 26 |
+ } |
| 27 |
public void run() |
| 28 |
{ |
| 29 |
eventLoop(); |
| 30 |
--- a/src/gnu/io/RS485.javascip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/gnu/io/RS485.java`: |
| 31 |
+++ b/src/gnu/io/RS485.javascip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/gnu/io/RS485.java`: |
| 32 |
@@ -465,7 +465,9 @@ |
| 33 |
private boolean BI=false; |
| 34 |
private boolean Data=false; |
| 35 |
private boolean Output=false; |
| 36 |
|
| 37 |
+ MonitorThread() { |
| 38 |
+ setDaemon(true); |
| 39 |
+ } |
| 40 |
public void run() { |
| 41 |
eventLoop(); |
| 42 |
} |
| 43 |
--- a/src/gnu/io/RXTXPort.javascip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/gnu/io/RXTXPort.java`: |
| 44 |
+++ b/src/gnu/io/RXTXPort.javascip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/gnu/io/RXTXPort.java`: |
| 45 |
@@ -1629,6 +1629,7 @@ |
| 46 |
|
| 47 |
MonitorThread() |
| 48 |
{ |
| 49 |
+ setDaemon(true); |
| 50 |
if (debug) |
| 51 |
z.reportln( "RXTXPort:MontitorThread:MonitorThread()"); |
| 52 |
} |
| 53 |
--- a/src/gnu/io/Raw.javascip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/gnu/io/Raw.java`: |
| 54 |
+++ b/src/gnu/io/Raw.javascip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/gnu/io/Raw.java`: |
| 55 |
@@ -466,7 +466,9 @@ |
| 56 |
private boolean BI=false; |
| 57 |
private boolean Data=false; |
| 58 |
private boolean Output=false; |
| 59 |
|
| 60 |
+ MonitorThread() { |
| 61 |
+ setDaemon(true); |
| 62 |
+ } |
| 63 |
public void run() { |
| 64 |
eventLoop(); |
| 65 |
} |