Ignore:
Timestamp:
2017-06-02T17:14:00+12:00 (7 years ago)
Author:
ak19
Message:
  1. GLI's DownloadJobs don't allow pausing and resuming (the button used to work, but didn't ever pause/resume in the background, at least it's been stopping the wget download activity after wget related changes from some years back). Changing the Pause/Resume button in the DownloadProgressBar to the Stop/Stopped button. 2. Added another useful link on InterruptedException to SafeProgress and its documentation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/util/SafeProcess.java

    r31718 r31720  
    618618        // See also http://stackoverflow.com/questions/4906799/why-invoke-thread-currentthread-interrupt-when-catch-any-interruptexception
    619619        // and https://praveer09.github.io/technology/2015/12/06/understanding-thread-interruption-in-java/
     620        // http://michaelscharf.blogspot.co.nz/2006/09/dont-swallow-interruptedexception-call.html
    620621        Thread.currentThread().interrupt(); // re-interrupt the thread - which thread? Infinite loop?
    621622   
Note: See TracChangeset for help on using the changeset viewer.