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

Skip to content
Snippets Groups Projects
Commit 25feb745 authored by zab2's avatar zab2
Browse files

Volatil-ize some fields

parent 7e0654ae
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ abstract class I2PSessionImpl implements I2PSession, I2CPMessageReader.I2CPMessa ...@@ -68,7 +68,7 @@ abstract class I2PSessionImpl implements I2PSession, I2CPMessageReader.I2CPMessa
/** this session's Id */ /** this session's Id */
private SessionId _sessionId; private SessionId _sessionId;
/** currently granted lease set, or null */ /** currently granted lease set, or null */
private LeaseSet _leaseSet; private volatile LeaseSet _leaseSet;
/** hostname of router - will be null if in RouterContext */ /** hostname of router - will be null if in RouterContext */
protected String _hostname; protected String _hostname;
...@@ -101,7 +101,7 @@ abstract class I2PSessionImpl implements I2PSession, I2CPMessageReader.I2CPMessa ...@@ -101,7 +101,7 @@ abstract class I2PSessionImpl implements I2PSession, I2CPMessageReader.I2CPMessa
/** hashes of lookups we are waiting for */ /** hashes of lookups we are waiting for */
protected final LinkedBlockingQueue<LookupWaiter> _pendingLookups = new LinkedBlockingQueue(); protected final LinkedBlockingQueue<LookupWaiter> _pendingLookups = new LinkedBlockingQueue();
protected final Object _bwReceivedLock = new Object(); protected final Object _bwReceivedLock = new Object();
protected int[] _bwLimits; protected volatile int[] _bwLimits;
protected I2PClientMessageHandlerMap _handlerMap; protected I2PClientMessageHandlerMap _handlerMap;
......
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