Changeset ec70f24


Ignore:
Timestamp:
Jun 26, 2013 9:03:18 PM (7 years ago)
Author:
zab2 <zab2@…>
Branches:
master
Children:
1d9b89d
Parents:
f525685
Message:

more volatiles

Location:
router/java/src/net/i2p/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/JobQueue.java

    rf525685 rec70f24  
    5454    private boolean _allowParallelOperation;
    5555    /** have we been killed or are we alive? */
    56     private boolean _alive;
     56    private volatile boolean _alive;
    5757   
    5858    private final Object _jobLock;
  • router/java/src/net/i2p/router/JobQueueRunner.java

    rf525685 rec70f24  
    77    private final Log _log;
    88    private final RouterContext _context;
    9     private boolean _keepRunning;
     9    private volatile boolean _keepRunning;
    1010    private final int _id;
    11     private Job _currentJob;
    12     private Job _lastJob;
    13     private long _lastBegin;
    14     private long _lastEnd;
    15     private int _state;
     11    private volatile Job _currentJob;
     12    private volatile Job _lastJob;
     13    private volatile long _lastBegin;
     14    private volatile long _lastEnd;
     15    private volatile int _state;
    1616   
    1717    public JobQueueRunner(RouterContext context, int id) {
Note: See TracChangeset for help on using the changeset viewer.