Changeset e72a763


Ignore:
Timestamp:
Jun 1, 2013 4:58:21 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7fc2cd9
Parents:
ff20174
Message:

volatile

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/java/src/net/i2p/addressbook/Daemon.java

    rff20174 re72a763  
    4848    public static final String VERSION = "2.0.4";
    4949    private static final Daemon _instance = new Daemon();
    50     private boolean _running;
     50    private volatile boolean _running;
    5151    private static final boolean DEBUG = false;
    5252   
  • core/java/src/gnu/crypto/prng/BasePRNGStandalone.java

    rff20174 re72a763  
    5959
    6060   /** Indicate if this instance has already been initialised or not. */
    61    protected boolean initialised;
     61   protected volatile boolean initialised;
    6262
    6363   /** A temporary buffer to serve random bytes. */
    64    protected byte[] buffer;
     64   protected volatile byte[] buffer;
    6565
    6666   /** The index into buffer of where the next byte will come from. */
Note: See TracChangeset for help on using the changeset viewer.