Skip to content

Tascalate Concurrent 0.9.4

Compare
Choose a tag to compare
@vsilaev vsilaev released this 01 Nov 22:50
· 25 commits to master since this release

Minor release with the following changes:

  1. Fix issue Unexpected cancellation behavior - now onTimeout / orTimeout methods with cancelOnTimeout = true correctly and timely cancels Promise even when used with Executor having limited number of free threads (even in case of single-thread executor). However, the behavior may still be surprising for cancelOnTimeout = false case, while we always have to switch back to to the original Executor after timeout (and if it has no free threads, then switching thread context is impossible).
  2. Simplified CallbackRegistry and related code in AbstractCompletableTask.
  3. Fix error propagation in CompletablePromise, fix cancellation of completeAsync result (should not complete the CompletablePromise).