change: - perform a major refactoring on TerminableCallable by putting the...
change: - perform a major refactoring on TerminableCallable by putting the thread guard stuff to a class of its own (ThreadGuard) - ensure the TerminableCallable doesn't get started if it is cancelled or terminated before it starts running - remove the hasCleanedUp() and waitForCleanedUp() methods - remove the waitForStarted() method SVN: 6652
Showing
- common/source/java/ch/systemsx/cisd/common/concurrent/TerminableCallable.java 49 additions, 202 deletions...h/systemsx/cisd/common/concurrent/TerminableCallable.java
- common/source/java/ch/systemsx/cisd/common/concurrent/TerminableFuture.java 3 additions, 38 deletions.../ch/systemsx/cisd/common/concurrent/TerminableFuture.java
- common/source/java/ch/systemsx/cisd/common/concurrent/ThreadGuard.java 257 additions, 0 deletions.../java/ch/systemsx/cisd/common/concurrent/ThreadGuard.java
- common/sourceTest/java/ch/systemsx/cisd/common/concurrent/TerminableCallableTest.java 7 additions, 7 deletions...stemsx/cisd/common/concurrent/TerminableCallableTest.java
Loading
Please register or sign in to comment