I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 1a50b624 authored by zzz's avatar zzz
Browse files

volatile

parent 076558d4
No related branches found
No related tags found
No related merge requests found
...@@ -80,9 +80,12 @@ class Writer { ...@@ -80,9 +80,12 @@ class Writer {
} }
private class Runner implements Runnable { private class Runner implements Runnable {
private boolean _stop; private volatile boolean _stop;
public Runner() { _stop = false; }
public Runner() {}
public void stop() { _stop = true; } public void stop() { _stop = true; }
public void run() { public void run() {
if (_log.shouldLog(Log.INFO)) _log.info("Starting writer"); if (_log.shouldLog(Log.INFO)) _log.info("Starting writer");
NTCPConnection con = null; NTCPConnection con = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment